Commits

Anonymous committed 39fd17b

woops... I forgot some essential bit....

Comments (0)

Files changed (1)

friendpaste/dbsession.py

         return db.view(name, wrapper=None, **options)   
 
     def load(self, instance, id):
-        pass
+        db = self.bind.db
+        instance.load(db, id)
 
     def store(self, instance):
-        instance.store(self.bind)
+        db = self.bind.db
+        instance.store(db)