aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcreate-srpm2
1 files changed, 2 insertions, 0 deletions
diff --git a/create-srpm b/create-srpm
index 83a4153..820c81f 100755
--- a/create-srpm
+++ b/create-srpm
@@ -68,6 +68,8 @@ class CmdIface:
noerror=1)
if os.path.isfile(targetsrpms[0]):
os.unlink(targetsrpms[0])
+ else:
+ sys.stderr.write("warning: upload ok; temp file '%s' removed unexpectedly\n" % (targetsrpms[0]))
if status != 0:
raise CmdError, "Failed to upload %s:\n%s" % (packageurl, output)
return 1