os.realpath => os.path.realpath in gclient-new-workdir.py

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>
changes/51/924151/2
Henrique Ferreiro 7 years ago committed by Commit Bot
parent fc40ad264e
commit aea45d21ee

@ -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))

Loading…
Cancel
Save