Changeset 70640 in webkit
- Timestamp:
- Oct 27, 2010 6:13:41 AM (13 years ago)
- Location:
- trunk/WebKitTools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKitTools/ChangeLog
r70629 r70640 1 2010-10-27 Adam Roben <aroben@apple.com> 2 3 Catch exceptions when checking if we're inside a git working directory 4 5 Fixes <http://webkit.org/b/48420> REGRESSION (r70562): test-webkitpy 6 fails on systems without git installed 7 8 Reviewed by Anders Carlsson. 9 10 * Scripts/webkitpy/common/net/credentials.py: 11 (Credentials._credentials_from_git): Put the call to 12 Git.in_working_directory inside the try/except since it, too, attempts 13 to execute git and thus will throw on systems that don't have git 14 installed. 15 1 16 2010-10-27 Nikolas Zimmermann <nzimmermann@rim.com> 2 17 -
trunk/WebKitTools/Scripts/webkitpy/common/net/credentials.py
r70562 r70640 60 60 61 61 def _credentials_from_git(self): 62 if not Git.in_working_directory(self.cwd):63 return (None, None)64 62 try: 63 if not Git.in_working_directory(self.cwd): 64 return (None, None) 65 65 return (Git.read_git_config(self.git_prefix + "username"), 66 66 Git.read_git_config(self.git_prefix + "password"))
Note: See TracChangeset
for help on using the changeset viewer.