]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
- remove the "edges" from the message here. It's illegible
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 1 Jan 2015 18:14:05 +0000 (13:14 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 1 Jan 2015 18:14:05 +0000 (13:14 -0500)
lib/sqlalchemy/exc.py

index 3271d09d4432031bf12ceee830ae57378877f84a..d6355a212b2d9ae359122b07e4dc4b1c0d3eb044 100644 (file)
@@ -63,7 +63,7 @@ class CircularDependencyError(SQLAlchemyError):
     """
     def __init__(self, message, cycles, edges, msg=None):
         if msg is None:
-            message += " Cycles: %r all edges: %r" % (cycles, edges)
+            message += " (%s)" % ", ".join(repr(s) for s in cycles)
         else:
             message = msg
         SQLAlchemyError.__init__(self, message)