Chromium Code Reviews

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

Issue 10447014: Add pylint to depot_tools. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Run pylint in subprocess rather than importing. Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: third_party/logilab/common/contexts.py
diff --git a/third_party/logilab/common/contexts.py b/third_party/logilab/common/contexts.py
new file mode 100644
index 0000000000000000000000000000000000000000..d78c3274e7852f963b4ad318b91934a1d87af70c
--- /dev/null
+++ b/third_party/logilab/common/contexts.py
@@ -0,0 +1,5 @@
+from warnings import warn
+warn('logilab.common.contexts module is deprecated, use logilab.common.shellutils instead',
+ DeprecationWarning, stacklevel=1)
+
+from logilab.common.shellutils import tempfile, pushd

Powered by Google App Engine