[Pypi-checkins] r879 - trunk/pypi

richard python-checkins at python.org
Tue Jan 25 23:38:58 CET 2011


Author: richard
Date: Tue Jan 25 23:38:58 2011
New Revision: 879

Modified:
   trunk/pypi/admin.py
Log:
fix some name clashes

Modified: trunk/pypi/admin.py
==============================================================================
--- trunk/pypi/admin.py	(original)
+++ trunk/pypi/admin.py	Tue Jan 25 23:38:58 2011
@@ -127,10 +127,10 @@
 
 if __name__ == '__main__':
     config = config.Config('/data/pypi/config.ini')
-    store = store.Store(config)
-    store.open()
+    st = store.Store(config)
+    st.open()
     command = sys.argv[1]
-    args = (store, ) + tuple(sys.argv[2:])
+    args = (st, ) + tuple(sys.argv[2:])
     try:
         if command == 'password':
             set_password(*args)
@@ -157,7 +157,7 @@
             merge_user(*args)
         else:
             print "unknown command '%s'!"%command
-        store.changed()
+        st.changed()
     finally:
-        store.close()
+        st.close()
 


More information about the Pypi-checkins mailing list