[Scipy-svn] r3368 - trunk/scipy/sandbox

scipy-svn@scip... scipy-svn@scip...
Mon Sep 24 10:30:54 CDT 2007


Author: cookedm
Date: 2007-09-24 10:30:52 -0500 (Mon, 24 Sep 2007)
New Revision: 3368

Modified:
   trunk/scipy/sandbox/setup.py
Log:
Skip blank lines in scipy/sandbox/enabled_packages.txt. Should fix #504


Modified: trunk/scipy/sandbox/setup.py
===================================================================
--- trunk/scipy/sandbox/setup.py	2007-09-24 14:33:35 UTC (rev 3367)
+++ trunk/scipy/sandbox/setup.py	2007-09-24 15:30:52 UTC (rev 3368)
@@ -15,7 +15,7 @@
     else:
         for line in sandbox_file:
             p = line.strip()
-            if line.startswith('#'):
+            if not p or p.startswith('#'):
                 continue
             sandbox_packages.append(p)
         sandbox_file.close()



More information about the Scipy-svn mailing list