Commits

Dan Connolly committed d7c8ab4

use _with_caps rather than gratuitously dynamic _initial_caps()

Comments (0)

Files changed (1)

 
 
 if __name__ == '__main__':
-    def _initial_caps(host='localhost'):
+    def _with_caps(host='localhost'):
         from sys import argv
         import gnomekeyring as gk
         from sqlalchemy import create_engine
                     username=creds['user'],
                     password=creds['password']))
 
-        return dict(argv=argv,
+        return main(argv=argv,
                     open_arg=open_arg,
                     engine_arg=engine_arg)
 
-    main(**_initial_caps())
+    _with_caps()