Commit 8399dc05 authored by ajwong@chromium.org's avatar ajwong@chromium.org

Fix silly typo issue. Not sure how the original code worked on my box.

Review URL: http://codereview.chromium.org/146050

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@19063 0039d316-1c4b-4281-b951-d872f2087c98
parent cdcee80c
......@@ -1354,7 +1354,8 @@ class GClient(object):
for entry in prev_entries:
e_dir = os.path.join(self._root_dir, entry)
if entry not in entries and os.path.exists(e_dir):
if not options.delete_unversioned_trees or CaptureSVNStatus(e_dir):
if not self._options.delete_unversioned_trees or \
CaptureSVNStatus(e_dir):
# There are modified files in this entry
entries[entry] = None # Keep warning until removed.
print("\nWARNING: \"%s\" is no longer part of this client. "
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment