From: David-Sarah Hopwood Date: Sun, 17 Mar 2013 18:27:58 +0000 (+0000) Subject: setup.py: add helpful comment on line that is a SyntaxError in Python < 2.6. X-Git-Tag: allmydata-tahoe-1.10a1~6 X-Git-Url: https://git.rkrishnan.org/vdrive/%22file:/quickstart.html?a=commitdiff_plain;h=7130a247cfba91da94721a205e87e4afaa287c8c;p=tahoe-lafs%2Ftahoe-lafs.git setup.py: add helpful comment on line that is a SyntaxError in Python < 2.6. Signed-off-by: David-Sarah Hopwood --- diff --git a/setup.py b/setup.py index bbe4a918..35017770 100644 --- a/setup.py +++ b/setup.py @@ -279,7 +279,7 @@ def run_command(args, cwd=None, verbose=False): try: # remember shell=False, so use git.cmd on windows, not just git p = subprocess.Popen(args, stdout=subprocess.PIPE, cwd=cwd) - except EnvironmentError as e: + except EnvironmentError as e: # if this gives a SyntaxError, note that Tahoe-LAFS requires Python 2.6+ if verbose: print("unable to run %s" % args[0]) print(e)