]> git.rkrishnan.org Git - tahoe-lafs/zfec.git/commitdiff
zfec: fix import of sys in the case that ez_setup couldn't be imported
authorzooko <zooko@zooko.com>
Thu, 20 Dec 2007 02:28:57 +0000 (07:58 +0530)
committerzooko <zooko@zooko.com>
Thu, 20 Dec 2007 02:28:57 +0000 (07:58 +0530)
darcs-hash:057eed993a3ee9b8d376db7a747888c589fb73db

zfec/setup.py

index 1cd2af88fbf950b73234f8253bf47b0d6f34b1cd..f224d29f0e6140fb3844e940f1f276e55154df2e 100755 (executable)
 # Inc., please contact partnerships@allmydata.com and visit
 # http://allmydata.com/.
 
+import sys
+
 try:
     from ez_setup import use_setuptools
 except ImportError:
     pass
 else:
-    import sys
     if 'cygwin' in sys.platform.lower():
         min_version='0.6c6'
     else: