Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(31)

Unified Diff: third_party/logilab/common/__init__.py

Issue 719313003: Revert "pylint: upgrade to 1.3.1" (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/logilab/common/README.chromium ('k') | third_party/logilab/common/__pkginfo__.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/logilab/common/__init__.py
diff --git a/third_party/logilab/common/__init__.py b/third_party/logilab/common/__init__.py
index 2d1324cb28a23d2101a02e94e3fcb4e719ee6e32..8d063e2cb98a712d32e7d9bf376e95c85ec90897 100644
--- a/third_party/logilab/common/__init__.py
+++ b/third_party/logilab/common/__init__.py
@@ -25,9 +25,6 @@
:var IGNORED_EXTENSIONS: file extensions that may usually be ignored
"""
__docformat__ = "restructuredtext en"
-
-from six.moves import range
-
from logilab.common.__pkginfo__ import version as __version__
STD_BLACKLIST = ('CVS', '.svn', '.hg', 'debian', 'dist', 'build')
@@ -60,9 +57,8 @@ class dictattr(dict):
class nullobject(object):
def __repr__(self):
return '<nullobject>'
- def __bool__(self):
+ def __nonzero__(self):
return False
- __nonzero__ = __bool__
class tempattr(object):
def __init__(self, obj, attr, value):
« no previous file with comments | « third_party/logilab/common/README.chromium ('k') | third_party/logilab/common/__pkginfo__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698