changeset 43:511bdff23b20

fix moin startup script for windows
author Roger Haase <crosseyedpenguin@yahoo.com>
date Mon, 28 Feb 2011 12:17:16 -0700
parents 21e6160353bc
children a7fdf16d8225
files moin
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/moin	Mon Feb 28 12:03:57 2011 -0700
+++ b/moin	Mon Feb 28 12:17:16 2011 -0700
@@ -74,11 +74,9 @@
 manager.add_command("maint_reduce_revisions", Reduce_Revisions())
 from MoinMoin.script.maint.set_meta import Set_Meta
 manager.add_command("maint_set_meta", Set_Meta())
-from MoinMoin.script.maint.xml import XML
-manager.add_command("maint_xml", XML())
 
 if __name__ == "__main__":
-    if sys.argv == ['./moin']:
+    if sys.argv == ['./moin'] or sys.argv == ['moin']:
         manager.run(default_command='moin')
     else:
         manager.run(default_command=sys.argv[1])