]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
a TODO comment
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 13 Feb 2008 17:27:47 +0000 (17:27 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 13 Feb 2008 17:27:47 +0000 (17:27 +0000)
lib/sqlalchemy/orm/attributes.py

index 5ae79e4323b3b2cffd18994be5a03d8839997d18..b0f10c20b55b7b1631a814cc52d0d29470014e36 100644 (file)
@@ -624,6 +624,8 @@ class CollectionAttributeImpl(AttributeImpl):
         try:
             return getattr(user_data, '_sa_adapter')
         except AttributeError:
+            # TODO: this codepath never occurs, and this 
+            # except/initialize should be removed
             collections.CollectionAdapter(self, state, user_data)
             return getattr(user_data, '_sa_adapter')