diff options
-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 67213d3a..613cc81c 100644 --- a/subcmds/sync.py +++ b/subcmds/sync.py | |||
@@ -226,13 +226,13 @@ uncommitted changes are present' % project.relpath | |||
226 | f = open(manifest_path, 'w') | 226 | f = open(manifest_path, 'w') |
227 | try: | 227 | try: |
228 | f.write(manifest_str) | 228 | f.write(manifest_str) |
229 | self.manifest.Override(manifest_name) | ||
230 | finally: | 229 | finally: |
231 | f.close() | 230 | f.close() |
232 | except IOError: | 231 | except IOError: |
233 | print >>sys.stderr, 'error: cannot write manifest to %s' % \ | 232 | print >>sys.stderr, 'error: cannot write manifest to %s' % \ |
234 | manifest_path | 233 | manifest_path |
235 | sys.exit(1) | 234 | sys.exit(1) |
235 | self.manifest.Override(manifest_name) | ||
236 | else: | 236 | else: |
237 | print >>sys.stderr, 'error: %s' % manifest_str | 237 | print >>sys.stderr, 'error: %s' % manifest_str |
238 | sys.exit(1) | 238 | sys.exit(1) |