Add the .libs directories to PYTHONPATH so pychecker works again.
Hi,
Ack to both!
Is pychecker working on the new storage code now a days ? I've switched
over to pylint (I've got a runpylint.sh akin to runpychecker.sh which I
need to submit), as pychecker did not grok the submodule imports in
the storage module.
Regards,
Hans
On 02/15/2010 10:04 PM, Chris Lumens wrote:
---
runpychecker.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/runpychecker.sh b/runpychecker.sh
index 0330174..186a551 100755
--- a/runpychecker.sh
+++ b/runpychecker.sh
@@ -37,7 +37,7 @@ if [ "`tail -c 1 pychecker-false-positives`" == "`echo`" ]; then
exit 1
fi
-export PYTHONPATH="isys:textw:iw:installclasses:/usr/share/system-config-date"
+export PYTHONPATH=".:.libs:isys:isys/.libs:textw:iw:installclasses:/usr/share/system-config-date"
pychecker --only --limit 1000
--maxlines 500 --maxargs 20 --maxbranches 80 --maxlocals 60 --maxreturns 20
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
|