Index: drover.py |
diff --git a/drover.py b/drover.py |
index a73f1d347f8d12a78c5b631d1301355fdd7e23e3..87025300d680b4c154896b071e13d5e996487aa5 100755 |
--- a/drover.py |
+++ b/drover.py |
@@ -10,6 +10,7 @@ |
import sys |
import urlparse |
+import breakpad # pylint: disable=W0611 |
import gclient_utils |
import subprocess2 |
@@ -376,7 +377,7 @@ |
try: |
for auth_file in os.listdir(svn_simple_folder): |
# Read the SVN auth file, convert it into a dictionary, and store it. |
- results[auth_file] = dict(re.findall(r'K [0-9]+\n(.*)\nV [0-9]+\n(.*)\n', |
+ results[auth_file] = dict(re.findall(r'K [0-9]+\n(.*)\nV [0-9]+\n(.*)\n', |
open(os.path.join(svn_simple_folder, auth_file)).read())) |
except Exception as _: |
pass |
@@ -390,7 +391,7 @@ |
auth_infos = getSVNAuthInfo() |
results = [] |
for _, auth_info in auth_infos.iteritems(): |
- if ('svn:realmstring' in auth_info |
+ if ('svn:realmstring' in auth_info |
and netloc in auth_info['svn:realmstring']): |
username = auth_info['username'] |
results.append(username) |