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