FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Packaging

 
 
LinkBack Thread Tools
 
Old 02-15-2010, 08:04 PM
Chris Lumens
 
Default Add the .libs directories to PYTHONPATH so pychecker works again.

---
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
--
1.6.5.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 02-15-2010, 08:33 PM
Hans de Goede
 
Default 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
 
Old 02-15-2010, 08:49 PM
Chris Lumens
 
Default Add the .libs directories to PYTHONPATH so pychecker works again.

> 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.

Ah, no, pychecker still completely fails on the storage module imports.

I guess it's still worth committing those two patches but pychecker
remains kind of useless for anaconda as a whole.

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 07:31 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org