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

Unified Diff: git_cl.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 | « gclient.py ('k') | owners.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: git_cl.py
diff --git a/git_cl.py b/git_cl.py
index e7569e2669b8ccda1d65f560f07d301c5093c780..06b2692dd90257f3dcf28751d2b89bf398db9bb1 100755
--- a/git_cl.py
+++ b/git_cl.py
@@ -1,7 +1,12 @@
-#!/usr/bin/python
-# git-cl -- a git-command for integrating reviews on Rietveld
+#!/usr/bin/env python
+# Copyright (c) 2011 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
# Copyright (C) 2008 Evan Martin <martine@danga.com>
+"""A git-command for integrating reviews on Rietveld."""
+
import errno
import logging
import optparse
@@ -23,7 +28,7 @@ try:
import simplejson as json # pylint: disable=F0401
except ImportError:
try:
- import json
+ import json # pylint: disable=F0401
except ImportError:
# Fall back to the packaged version.
sys.path.append(os.path.join(os.path.dirname(__file__), 'third_party'))
« no previous file with comments | « gclient.py ('k') | owners.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698