Bug: 721585 Change-Id: Ic6d47201e93cd89a1b58871ef0e3a1b5b708eb47 Reviewed-on: https://chromium-review.googlesource.com/924151 Reviewed-by: Robbie Iannucci <iannucci@chromium.org> Reviewed-by: Aaron Gable <agable@chromium.org> Commit-Queue: Aaron Gable <agable@chromium.org>
@@ -77,7 +77,7 @@ def main():
gclient = os.path.join(args.repository, '.gclient')
if os.path.islink(gclient):
- gclient = os.realpath(gclient)
+ gclient = os.path.realpath(gclient)
new_gclient = os.path.join(args.new_workdir, '.gclient')
if try_vol_snapshot(args.repository, args.new_workdir):
@@ -1049,5 +1049,5 @@ def clone_file(repository, new_workdir, link, operation):
os.makedirs(link_dir)
src = os.path.join(repository, link)
if os.path.islink(src):
- src = os.realpath(src)
+ src = os.path.realpath(src)
operation(src, os.path.join(new_workdir, link))