]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
setup: import bugfix to ez_setup.py
authorZooko O'Whielacronx <zooko@zooko.com>
Thu, 4 Oct 2007 18:18:46 +0000 (11:18 -0700)
committerZooko O'Whielacronx <zooko@zooko.com>
Thu, 4 Oct 2007 18:18:46 +0000 (11:18 -0700)
ez_setup.py

index d7c4e5e8f8380030956be25ba4d9c3e3585648a8..a14f7350f23ea077a6014d1ab76021afa7042a41 100644 (file)
@@ -202,7 +202,7 @@ def update_md5(filenames):
 
 
 if __name__=='__main__':
-    if '--md5update' in sys.argv[1]:
+    if '--md5update' in sys.argv:
         sys.argv.remove('--md5update')
         update_md5(sys.argv[1:])
     else: