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

Unified Diff: gcl.py

Issue 10165007: Remove python 2.5 compatibility code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 8 years, 8 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 | « checkout.py ('k') | git_cl.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcl.py
diff --git a/gcl.py b/gcl.py
index d846156b0d883ab80da20aaf8f15ce4b968f245e..bc37b7e075178febd92f89f507d4af6f77e9c65d 100755
--- a/gcl.py
+++ b/gcl.py
@@ -8,6 +8,7 @@ Wrapper script around Rietveld's upload.py that simplifies working with groups
of files.
"""
+import json
import optparse
import os
import random
@@ -20,15 +21,6 @@ import urllib2
import breakpad # pylint: disable=W0611
-try:
- import simplejson as json # pylint: disable=F0401
-except ImportError:
- try:
- import json # pylint: disable=F0401
- except ImportError:
- # Import the one included in depot_tools.
- sys.path.append(os.path.join(os.path.dirname(__file__), 'third_party'))
- import simplejson as json # pylint: disable=F0401
import fix_encoding
import gclient_utils
« no previous file with comments | « checkout.py ('k') | git_cl.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698