[Python-modules-commits] r32967 - in packages/python-vertica/trunk/debian (3 files)

jbfavre-guest at users.alioth.debian.org jbfavre-guest at users.alioth.debian.org
Sat Jun 13 07:35:09 UTC 2015


    Date: Saturday, June 13, 2015 @ 07:35:08
  Author: jbfavre-guest
Revision: 32967

Add debian/patches directory to svn

Added:
  packages/python-vertica/trunk/debian/patches/
  packages/python-vertica/trunk/debian/patches/fix_invalid_syntax_error.patch
  packages/python-vertica/trunk/debian/patches/series

Added: packages/python-vertica/trunk/debian/patches/fix_invalid_syntax_error.patch
===================================================================
--- packages/python-vertica/trunk/debian/patches/fix_invalid_syntax_error.patch	                        (rev 0)
+++ packages/python-vertica/trunk/debian/patches/fix_invalid_syntax_error.patch	2015-06-13 07:35:08 UTC (rev 32967)
@@ -0,0 +1,18 @@
+Description: Fix invalid syntax error
+Author: Jean Baptiste Favre <debian at jbfavre.org>
+Origin: others
+Reviewed-by: Jean Baptiste Favre <debian at jbfavre.org>
+Last-Update: 2015-06-13
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/vertica_python/vertica/connection.py
++++ b/vertica_python/vertica/connection.py
+@@ -137,7 +137,7 @@ class Connection(object):
+         logger.debug('=> %s', message)
+         try:
+             self._socket().sendall(message.to_bytes())
+-        except Exception, e:
++        except Exception as e:
+             self.close_socket()
+             raise errors.ConnectionError(e.message)
+ 

Added: packages/python-vertica/trunk/debian/patches/series
===================================================================
--- packages/python-vertica/trunk/debian/patches/series	                        (rev 0)
+++ packages/python-vertica/trunk/debian/patches/series	2015-06-13 07:35:08 UTC (rev 32967)
@@ -0,0 +1 @@
+fix_invalid_syntax_error.patch




More information about the Python-modules-commits mailing list