mailr27969 - /trunk/devel_scripts/find_unused_imports.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on October 02, 2015 - 17:37:
Author: bugman
Date: Fri Oct  2 17:37:26 2015
New Revision: 27969

URL: http://svn.gna.org/viewcvs/relax?rev=27969&view=rev
Log:
Fix for the error catching in the find_unused_imports.py developer script.

The numerous pylint warnings are also sent to STDERR.


Modified:
    trunk/devel_scripts/find_unused_imports.py

Modified: trunk/devel_scripts/find_unused_imports.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/devel_scripts/find_unused_imports.py?rev=27969&r1=27968&r2=27969&view=diff
==============================================================================
--- trunk/devel_scripts/find_unused_imports.py  (original)
+++ trunk/devel_scripts/find_unused_imports.py  Fri Oct  2 17:37:26 2015
@@ -38,7 +38,8 @@
         err = False
         for line in pipe.stderr.readlines():
             sys.stdout.write(line)
-            err = True
+            if search("command not found", line):
+                err = True
         if err:
             sys.exit()
 




Related Messages


Powered by MHonArc, Updated Fri Oct 02 17:40:04 2015