summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZaheer Abbas Merali <zaheerm@gentoo.org>2006-09-28 14:42:07 +0000
committerZaheer Abbas Merali <zaheerm@gentoo.org>2006-09-28 14:42:07 +0000
commite67638cdd723ac20c276616a3177e566aee4359a (patch)
tree3e4023ec9cd690d4d28b0fd87fd4ab5db9cef677 /dev-python/pychecker/files/pychecker.blacklist.patch
parent915resolution and vbetool, needed for macbook (diff)
downloadzaheerm-e67638cdd723ac20c276616a3177e566aee4359a.tar.gz
zaheerm-e67638cdd723ac20c276616a3177e566aee4359a.tar.bz2
zaheerm-e67638cdd723ac20c276616a3177e566aee4359a.zip
pychecker with thomas's patchesHEADmaster
svn path=/; revision=11
Diffstat (limited to 'dev-python/pychecker/files/pychecker.blacklist.patch')
-rw-r--r--dev-python/pychecker/files/pychecker.blacklist.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/dev-python/pychecker/files/pychecker.blacklist.patch b/dev-python/pychecker/files/pychecker.blacklist.patch
new file mode 100644
index 0000000..f78f173
--- /dev/null
+++ b/dev-python/pychecker/files/pychecker.blacklist.patch
@@ -0,0 +1,18 @@
+Index: pychecker/pychecker/checker.py
+===================================================================
+--- pychecker.orig/pychecker/checker.py
++++ pychecker/pychecker/checker.py
+@@ -262,9 +262,10 @@ class Class :
+ self.module = sys.modules.get(modname)
+ if not self.module:
+ self.module = module
+- sys.stderr.write("warning: couldn't find real module "
+- "for class %s (module name: %s)\n"
+- % (self.classObject, modname))
++ if modname not in cfg().blacklist:
++ sys.stderr.write("warning: couldn't find real module "
++ "for class %s (module name: %s)\n"
++ % (self.classObject, modname))
+ self.ignoreAttrs = 0
+ self.methods = {}
+ self.members = { '__class__': types.ClassType,