]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Add missing space in repr of the sessionmaker class
authorPaul Anton Letnes <708553+pletnes@users.noreply.github.com>
Mon, 16 Oct 2017 10:32:38 +0000 (12:32 +0200)
committerGitHub <noreply@github.com>
Mon, 16 Oct 2017 10:32:38 +0000 (12:32 +0200)
The missing space was driving me nuts.

lib/sqlalchemy/orm/session.py

index cfad2ca43b26e7710880c9f98a427242dc661ef7..25dae60130ea1acb15eab6d585f61a57b7b5241f 100644 (file)
@@ -2944,7 +2944,7 @@ class sessionmaker(_SessionClassMethods):
         self.kw.update(new_kw)
 
     def __repr__(self):
-        return "%s(class_=%r,%s)" % (
+        return "%s(class_=%r, %s)" % (
             self.__class__.__name__,
             self.class_.__name__,
             ", ".join("%s=%r" % (k, v) for k, v in self.kw.items())