Deleting temporary file
This commit is contained in:
parent
cfcfea5a9d
commit
7d8e3abb74
1 changed files with 2 additions and 0 deletions
|
@ -120,6 +120,8 @@ def edit(args):
|
|||
update(parser.parse_args(["update", args.type, args.key, tmp_name]))
|
||||
else:
|
||||
print "Object unchanged, not updating"
|
||||
|
||||
os.unlink(tmp_name)
|
||||
return
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue