Index: head/databases/py-dbutils/files/patch-DBUtils-Examples-DBUtilsExample.py =================================================================== --- head/databases/py-dbutils/files/patch-DBUtils-Examples-DBUtilsExample.py (revision 476452) +++ head/databases/py-dbutils/files/patch-DBUtils-Examples-DBUtilsExample.py (nonexistent) @@ -1,74 +0,0 @@ ---- DBUtils/Examples/DBUtilsExample.py.orig 2017-02-05 12:39:41 UTC -+++ DBUtils/Examples/DBUtilsExample.py -@@ -147,7 +147,7 @@ class DBUtilsExample(ExamplePage): - else: - db.cursor().execute(ddl) - db.commit() -- except self.dbapi.Error, error: -+ except self.dbapi.Error as error: - if self.dbapi_name != 'pg': - db.rollback() - self.outputMsg(error, True) -@@ -173,7 +173,7 @@ class DBUtilsExample(ExamplePage): - else: - db.cursor().execute(cmd) - db.commit() -- except self.dbapi.Error, error: -+ except self.dbapi.Error as error: - try: - if self.dbapi_name == 'pg': - db.query('end') -@@ -198,7 +198,7 @@ class DBUtilsExample(ExamplePage): - cursor.execute(query) - result = cursor.fetchall() - cursor.close() -- except self.dbapi.Error, error: -+ except self.dbapi.Error as error: - self.outputMsg(error, True) - return - if not result: -@@ -251,7 +251,7 @@ class DBUtilsExample(ExamplePage): - for cmd in cmds: - db.cursor().execute(cmd) - db.commit() -- except self.dbapi.Error, error: -+ except self.dbapi.Error as error: - if self.dbapi_name == 'pg': - db.query('end') - else: -@@ -275,7 +275,7 @@ class DBUtilsExample(ExamplePage): - cursor.execute(query) - result = cursor.fetchall() - cursor.close() -- except self.dbapi.Error, error: -+ except self.dbapi.Error as error: - self.outputMsg(error, True) - return - if not result: -@@ -335,7 +335,7 @@ class DBUtilsExample(ExamplePage): - else: - db.cursor().execute(cmd) - db.commit() -- except self.dbapi.Error, error: -+ except self.dbapi.Error as error: - if self.dbapi_name == 'pg': - db.query('end') - else: -@@ -359,7 +359,7 @@ class DBUtilsExample(ExamplePage): - cursor.execute(query) - result = cursor.fetchall() - cursor.close() -- except self.dbapi.Error, error: -+ except self.dbapi.Error as error: - self.outputMsg(error, True) - return - if not result: -@@ -422,7 +422,7 @@ class DBUtilsExample(ExamplePage): - db.cursor().execute(cmd) - cursor.close() - db.commit() -- except self.dbapi.Error, error: -+ except self.dbapi.Error as error: - if self.dbapi_name == 'pg': - db.query('end') - else: Property changes on: head/databases/py-dbutils/files/patch-DBUtils-Examples-DBUtilsExample.py ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/databases/py-dbutils/Makefile =================================================================== --- head/databases/py-dbutils/Makefile (revision 476452) +++ head/databases/py-dbutils/Makefile (revision 476453) @@ -1,20 +1,20 @@ # Created by: Choe, Cheng-Dae # $FreeBSD$ PORTNAME= dbutils -PORTVERSION= 1.2 +PORTVERSION= 1.3 CATEGORIES= databases python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= DBUtils-${PORTVERSION} MAINTAINER= python@FreeBSD.org COMMENT= Providing solid, persistent, and pooled connections to a database LICENSE= MIT NO_ARCH= yes USES= python USE_PYTHON= autoplist distutils .include Index: head/databases/py-dbutils/distinfo =================================================================== --- head/databases/py-dbutils/distinfo (revision 476452) +++ head/databases/py-dbutils/distinfo (revision 476453) @@ -1,3 +1,3 @@ -TIMESTAMP = 1486480831 -SHA256 (DBUtils-1.2.tar.gz) = fc185892248ff2e008b4ef92192b4247308404464d8508b225f8900caa163c6b -SIZE (DBUtils-1.2.tar.gz) = 91239 +TIMESTAMP = 1533411985 +SHA256 (DBUtils-1.3.tar.gz) = 0f7348ac0ea6c6830976628209dd3de3d76ac3e7f770c9225920866b50a70422 +SIZE (DBUtils-1.3.tar.gz) = 91733