diff options
Diffstat (limited to 'subcmds/sync.py')
-rw-r--r-- | subcmds/sync.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subcmds/sync.py b/subcmds/sync.py index 1e87d152..23098972 100644 --- a/subcmds/sync.py +++ b/subcmds/sync.py | |||
@@ -1265,7 +1265,7 @@ later is required to fix a server side protocol bug. | |||
1265 | old_project_paths = [] | 1265 | old_project_paths = [] |
1266 | 1266 | ||
1267 | if os.path.exists(file_path): | 1267 | if os.path.exists(file_path): |
1268 | with open(file_path, "r") as fd: | 1268 | with open(file_path) as fd: |
1269 | old_project_paths = fd.read().split("\n") | 1269 | old_project_paths = fd.read().split("\n") |
1270 | # In reversed order, so subfolders are deleted before parent folder. | 1270 | # In reversed order, so subfolders are deleted before parent folder. |
1271 | for path in sorted(old_project_paths, reverse=True): | 1271 | for path in sorted(old_project_paths, reverse=True): |