[PATCH 1/3] Update runpylint to find newui modules correctly.
Chris Lumens
clumens at redhat.com
Thu Aug 30 19:37:24 UTC 2012
---
tests/pylint/runpylint.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/pylint/runpylint.sh b/tests/pylint/runpylint.sh
index 8c3e74b..9b771cd 100755
--- a/tests/pylint/runpylint.sh
+++ b/tests/pylint/runpylint.sh
@@ -80,7 +80,7 @@ fi
# run pylint one file / module at a time, otherwise it sometimes gets
# confused
> pylint-log
-for i in pyanaconda/storage pyanaconda/installclasses/*.py pyanaconda/iw/*.py pyanaconda/textw/*.py pyanaconda/isys/*.py pyanaconda/; do
+for i in $(find pyanaconda -type f -name '*py'); do
pylint --init-hook='import sys; \
sys.path.insert(1, "pyanaconda/isys/.libs"); \
sys.path.insert(2, "pyanaconda/isys"); \
--
1.7.11.2
More information about the anaconda-patches
mailing list