Commit aea45d21 authored by Henrique Ferreiro's avatar Henrique Ferreiro Committed by Commit Bot

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

Bug: 721585
Change-Id: Ic6d47201e93cd89a1b58871ef0e3a1b5b708eb47
Reviewed-on: https://chromium-review.googlesource.com/924151Reviewed-by: 's avatarRobbie Iannucci <iannucci@chromium.org>
Reviewed-by: 's avatarAaron Gable <agable@chromium.org>
Commit-Queue: Aaron Gable <agable@chromium.org>
parent fc40ad26
......@@ -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))
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