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

Unified Diff: fix_encoding.py

Issue 6791018: Add a warning if the current version of python is not 2.5 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Updated to work seamlessly with python 2.5 Created 9 years, 9 months 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 | « drover.py ('k') | gcl.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: fix_encoding.py
diff --git a/fix_encoding.py b/fix_encoding.py
index ab418695b20d50eca5b6f2874ad988d734087a4d..87e54a579054aa1a9f5dee678b82b33ecc1d2853 100644
--- a/fix_encoding.py
+++ b/fix_encoding.py
@@ -187,7 +187,8 @@ class WinUnicodeConsoleOutput(WinUnicodeOutputBase):
# Loads the necessary function.
from ctypes import byref, GetLastError, POINTER, windll, WINFUNCTYPE
- from ctypes.wintypes import BOOL, DWORD, HANDLE, LPVOID, LPWSTR
+ from ctypes.wintypes import BOOL, DWORD, HANDLE, LPWSTR
+ from ctypes.wintypes import LPVOID # pylint: disable=E0611
self._DWORD = DWORD
self._byref = byref
« no previous file with comments | « drover.py ('k') | gcl.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698