Do not commit when creating .orig
This commit is contained in:
parent
f6de46c259
commit
bfec47c769
|
@ -63,7 +63,6 @@ def cache(name, content):
|
|||
new.flush()
|
||||
if not os.path.exists(orig_path):
|
||||
shutil.copy(new.name, orig_path)
|
||||
shutil.copy(new.name, last_path)
|
||||
changed = True
|
||||
os.rename(new.name, dest_path)
|
||||
|
||||
|
|
Loading…
Reference in New Issue