Typo in sqlalchemy/schema.py

Issue #1137 resolved
Former user created an issue

forwarded from http://bugs.debian.org/494948

trunk is not affected, only branches/rel_0_4/

--- schema.py.old       2008-08-13 13:07:27.000000000 +0200
+++ schema.py.new       2008-08-13 13:07:44.000000000 +0200
@@ -1035,7 +1035,7 @@

         super(CheckConstraint, self).__init__(name, deferrable, initially)
         if not isinstance(sqltext, basestring):
-            raise exc.ArgumentError(
+            raise exceptions.ArgumentError(
                 "sqltext must be a string and will be used verbatim.")
         self.sqltext = sqltext

Comments (2)

  1. Log in to comment