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 > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 02-02-2009, 12:10 PM
Hans de Goede
 
Default PATCH: Add some false positives to pychecker false positives filtering

Hi all,

The attached patch filters a number of new pychecker false positives.

Regards,

Hans
diff --git a/pychecker-false-positives b/pychecker-false-positives
index d756766..d6b6022 100644
--- a/pychecker-false-positives
+++ b/pychecker-false-positives
@@ -16,10 +16,16 @@ setattr
^network.py:[0-9]*: Object (.*props) has no attribute (Get)$
^partedUtils.py:[0-9]*: No module attribute (__dict__) found$
^partedUtils.py:[0-9]*: No module attribute (DEVICE_SX8) found$
+^partedUtils.py:[0-9]*: Object (productUpgrades) has no attribute (has_key)$
^kickstart.py:[0-9]*: No global (fileSystemTypeGet.*) found$
+^kickstart.py:[0-9]*: Object (kwargs) has no attribute (update)$
^upgrade.py:[0-9]*: No global (getUsableLinuxFs) found$
^upgrade.py:[0-9]*: No global (SwapFileDevice) found$
^upgrade.py:[0-9]*: No global (fileSystemTypeGet) found$
^upgrade.py:[0-9]*: No global (FileSystemSetEntry) found$
^upgrade.py:[0-9]*: No global (readFstab) found$
+^iutil.py:[0-9]*: Object (ppcType) has no attribute (items)$
+^livecd.py:[0-9]*: Object (fsdict) has no attribute (keys)$
+^packages.py:[0-9]*: Object (publicBetas) has no attribute (items)$
+^partRequests.py:[0-9]*: Format string argument count (0) doesn't match arguments (1)$
Note this last line must never end with a newline
No newline at end of file
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 02-02-2009, 01:03 PM
Jeremy Katz
 
Default PATCH: Add some false positives to pychecker false positives filtering

On Monday, February 02 2009, Hans de Goede said:
> The attached patch filters a number of new pychecker false positives.

While this looks okay, it also seems like it's a generic bug in
pychecker that should be fixed rather than having us working around with
adding more and more of our dicts to the whitelist

Jeremy

_______________________________________________
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 12:20 PM.

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