Commits

Mike Bayer committed 11eed08

dont need this conditional here

  • Participants
  • Parent commits 6c8db1c

Comments (0)

Files changed (1)

lib/sqlalchemy/orm/properties.py

                 adapt_source=adapt_source)
 
     def __str__(self):
-        if self.parent:
-            return str(self.parent.class_.__name__) + "." + self.key
-        else:
-            return "." + self.key
+        return str(self.parent.class_.__name__) + "." + self.key
 
     def merge(self,
                     session,