Chromium Code Reviews| Index: gclient_scm.py |
| diff --git a/gclient_scm.py b/gclient_scm.py |
| index 97495fbb9bb97f48cb80df9791ba6ba38cd2f0e9..439bc6b116b5bdc1d73f6bc78e8c89bec2892703 100644 |
| --- a/gclient_scm.py |
| +++ b/gclient_scm.py |
| @@ -805,7 +805,7 @@ class GitWrapper(SCMWrapper): |
| else: |
| depth = None |
| mirror.populate(verbose=options.verbose, bootstrap=True, depth=depth, |
| - ignore_lock=options.ignore_locks) |
| + ignore_lock=getattr(options, 'ignore_locks', False)) |
| mirror.unlock() |
| def _Clone(self, revision, url, options): |