Commits

Anonymous committed 9743d6a

Updates for SA 0.6

  • Participants
  • Parent commits 84708a5

Comments (0)

Files changed (2)

 
 def main():
     parser = OptionParser(usage='%prog [options]')
-    parser.add_option('--hostname', '-a', dest='hostname', default='localhost')
+    parser.add_option('--hostname', '-a', dest='hostname', default='127.0.0.1')
     parser.add_option('--port', '-p', dest='port', type='int', default=4000)
     parser.add_option('--no-reloader', dest='reloader', action='store_false',
                       default=True, help='Disable the reloader')
     to compare the trees.
     """
 
-    impl = sqlalchemy.Binary
+    impl = sqlalchemy.LargeBinary
 
     def process_bind_param(self, value, dialect):
         if value is None:
 del key, mod, value
 
 #: forward some session methods to the module as well
-for name in 'delete', 'save', 'flush', 'execute', 'begin', 'mapper', \
-            'commit', 'rollback', 'clear', 'refresh', 'expire', \
+for name in 'delete', 'flush', 'execute', 'begin', 'mapper', \
+            'commit', 'rollback', 'refresh', 'expire', \
             'query_property':
     setattr(db, name, getattr(session, name))