]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
setup.py: add helpful comment on line that is a SyntaxError in Python < 2.6.
authorDavid-Sarah Hopwood <david-sarah@jacaranda.org>
Sun, 17 Mar 2013 18:27:58 +0000 (18:27 +0000)
committerDavid-Sarah Hopwood <david-sarah@jacaranda.org>
Sun, 17 Mar 2013 18:27:58 +0000 (18:27 +0000)
Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
setup.py

index bbe4a91851d8e79ea4efab1bc983e2ff26ada3df..3501777080d425f7df57cb81e4b784361e0cf557 100644 (file)
--- 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)