diff options
-rw-r--r-- | README | 1 | ||||
-rw-r--r-- | checkers/typecheck.py | 3 |
2 files changed, 1 insertions, 3 deletions
@@ -8,7 +8,6 @@ Pylint requires the logilab-astng (version >= 0.21.0), logilab-common * http://www.logilab.org/projects/astng * http://www.logilab.org/projects/common -* http://optik.sourceforge.net/ Install ------- diff --git a/checkers/typecheck.py b/checkers/typecheck.py index bb1086d..eec538d 100644 --- a/checkers/typecheck.py +++ b/checkers/typecheck.py @@ -161,8 +161,7 @@ accessed.'} if isinstance(owner, Instance) and owner.has_dynamic_getattr(): continue # explicit skipping of optparse'Values class - if owner.name == 'Values' and \ - owner.root().name in ('optik', 'optparse'): + if owner.name == 'Values' and owner.root().name == 'optparse': continue missingattr.add((owner, name)) continue |