aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-04-01 05:05:27 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-04-01 05:05:27 +0000
commit55b2ea382185263c2afb07b7080315c25c510766 (patch)
tree22b3b1f8487bddd88b3860a8e61b058476fd8dd6
parent462578306fcaa854891007cbcc0fe3eda5519665 (diff)
parent0abb0304a3d2e3be0b061be01601b67aef4f8945 (diff)
downloadexternal_updater-55b2ea382185263c2afb07b7080315c25c510766.tar.gz
Snap for 9867398 from 0abb0304a3d2e3be0b061be01601b67aef4f8945 to udc-d1-release
Change-Id: I91c861f56e9ab86743f7a576e5047a20e85e95d2
-rw-r--r--external_updater.py2
-rw-r--r--fileutils.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/external_updater.py b/external_updater.py
index 68550fb..49b6883 100644
--- a/external_updater.py
+++ b/external_updater.py
@@ -120,7 +120,7 @@ def _do_update(args: argparse.Namespace, updater: Updater,
return
try:
- rel_proj_path = fileutils.get_relative_project_path(full_path)
+ rel_proj_path = str(fileutils.get_relative_project_path(full_path))
except ValueError:
# Absolute paths to other trees will not be relative to our tree. There are
# not portable instructions for upgrading that project, since the path will
diff --git a/fileutils.py b/fileutils.py
index 09aab37..789dc7c 100644
--- a/fileutils.py
+++ b/fileutils.py
@@ -111,7 +111,7 @@ def write_metadata(proj_path: Path, metadata: metadata_pb2.MetaData, keep_date:
date.month = now.month
date.day = now.day
try:
- rel_proj_path = get_relative_project_path(proj_path)
+ rel_proj_path = str(get_relative_project_path(proj_path))
except ValueError:
# Absolute paths to other trees will not be relative to our tree. There are
# not portable instructions for upgrading that project, since the path will