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

Side by Side Diff: checkout.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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | gcl.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # coding=utf8 1 # coding=utf8
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 """Manages a project checkout. 5 """Manages a project checkout.
6 6
7 Includes support for svn, git-svn and git. 7 Includes support for svn, git-svn and git.
8 """ 8 """
9 9
10 from __future__ import with_statement
11 import ConfigParser 10 import ConfigParser
12 import fnmatch 11 import fnmatch
13 import logging 12 import logging
14 import os 13 import os
15 import re 14 import re
16 import shutil 15 import shutil
17 import subprocess 16 import subprocess
18 import sys 17 import sys
19 import tempfile 18 import tempfile
20 19
(...skipping 727 matching lines...) Expand 10 before | Expand all | Expand 10 after
748 user, message)) 747 user, message))
749 return 'FAKE' 748 return 'FAKE'
750 749
751 @property 750 @property
752 def project_name(self): 751 def project_name(self):
753 return self.checkout.project_name 752 return self.checkout.project_name
754 753
755 @property 754 @property
756 def project_path(self): 755 def project_path(self):
757 return self.checkout.project_path 756 return self.checkout.project_path
OLDNEW
« no previous file with comments | « no previous file | gcl.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698