From 124c1327aab948bf5d07cc5164a0b5c8e5bd8b1a Mon Sep 17 00:00:00 2001 From: zooko Date: Thu, 20 Dec 2007 07:58:57 +0530 Subject: [PATCH] zfec: fix import of sys in the case that ez_setup couldn't be imported darcs-hash:057eed993a3ee9b8d376db7a747888c589fb73db --- zfec/setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: -- 2.45.2