]> git.saurik.com Git - cyql.git/commitdiff
Pass-through exception instead of re-raising.
authorJay Freeman (saurik) <saurik@saurik.com>
Sun, 25 Dec 2011 21:41:34 +0000 (21:41 +0000)
committerJay Freeman (saurik) <saurik@saurik.com>
Sun, 25 Dec 2011 21:41:34 +0000 (21:41 +0000)
__init__.py

index 2a4f7a529a5a35f3b3d447839d3b90fd884aa4f8..bc205292e79719b98b91b5460204f423cb30602a 100644 (file)
@@ -26,7 +26,7 @@ class connect(object):
                 break
             except psycopg2.OperationalError, e:
                 if attempt == 2:
-                    raise e
+                    raise
                 attempt = attempt + 1
 
         self.driver.autocommit = True