Author: dmeyer
Date: Mon Jan 30 10:01:16 2006
New Revision: 1146

Modified:
   trunk/setup.py

Log:
fix possible crash when starting setup without parameter

Modified: trunk/setup.py
==============================================================================
--- trunk/setup.py      (original)
+++ trunk/setup.py      Mon Jan 30 10:01:16 2006
@@ -40,7 +40,7 @@
         distutils.core.setup(name="kaa", version="0.1")
         sys.exit(0)
 
-if sys.argv[1] == 'clean' and len(sys.argv) == 2:
+if len(sys.argv) == 2 and sys.argv[1] == 'clean':
     for m in submodules:
         build = os.path.join(m, 'build')
         if os.path.isdir(build):


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to