---
 db/upgrade |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/db/upgrade b/db/upgrade
index 32deda9..ed5d453 100755
--- a/db/upgrade
+++ b/db/upgrade
@@ -68,7 +68,7 @@ def upgrade(db):
 
     except psycopg2.ProgrammingError, msg:
         db.execute('ROLLBACK')
-        raise "Unable to apply update: %s" % (str(msg))
+        raise Exception("Unable to apply update", str(msg))
 
 
 def usage(err = False):
-- 
1.7.2.5



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to