changeset 610:2718ac712385

Make pyflakes build job work on Win32.
author Thomas Pelle Jakobsen <mas@daimi.au.dk>
date Wed, 26 Mar 2008 11:52:02 +0100
parents 2e6a8de5f13c
children 57f877cd60f8
files run.py
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/run.py	Tue Mar 25 22:01:43 2008 +0100
+++ b/run.py	Wed Mar 26 11:52:02 2008 +0100
@@ -212,10 +212,14 @@
             dirs.remove('.hg')
     print total // 1024
 
+
 @command('pyflakes')
 def pyflakes():
     """Find static errors using Pyflakes."""
-    execute(['pyflakes', '.'])
+    if sys.platform == "win32":
+        execute(['pyflakes.bat', '.'])
+    else:
+        execute(['pyflakes', '.'])
 
 
 @command('trial', 'python')