From: zooko Date: Thu, 20 Dec 2007 02:28:57 +0000 (+0530) Subject: zfec: fix import of sys in the case that ez_setup couldn't be imported X-Git-Url: https://git.rkrishnan.org/?a=commitdiff_plain;h=124c1327aab948bf5d07cc5164a0b5c8e5bd8b1a;p=tahoe-lafs%2Fzfec.git zfec: fix import of sys in the case that ez_setup couldn't be imported darcs-hash:057eed993a3ee9b8d376db7a747888c589fb73db --- diff --git a/zfec/setup.py b/zfec/setup.py index 1cd2af8..f224d29 100755 --- a/zfec/setup.py +++ b/zfec/setup.py @@ -21,12 +21,13 @@ # 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: