From 7130a247cfba91da94721a205e87e4afaa287c8c Mon Sep 17 00:00:00 2001 From: David-Sarah Hopwood <david-sarah@jacaranda.org> Date: Sun, 17 Mar 2013 18:27:58 +0000 Subject: [PATCH] setup.py: add helpful comment on line that is a SyntaxError in Python < 2.6. Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org> --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.45.2