extras-buildsys/utils extras-push-new,1.54,1.55
Michael Schwendt (mschwendt)
fedora-extras-commits at redhat.com
Fri Sep 15 17:16:41 UTC 2006
Author: mschwendt
Update of /cvs/fedora/extras-buildsys/utils
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv8978
Modified Files:
extras-push-new
Log Message:
clean up needsign tmp dir before critical operations -- this makes detailed exception handling unnecessary in this place, since for us most I/O exceptions are fatal
Index: extras-push-new
===================================================================
RCS file: /cvs/fedora/extras-buildsys/utils/extras-push-new,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -r1.54 -r1.55
--- extras-push-new 3 Sep 2006 15:19:06 -0000 1.54
+++ extras-push-new 15 Sep 2006 17:16:38 -0000 1.55
@@ -559,6 +559,10 @@
if not (package in files['debuginfo']):
ExtrasMultiLib.evalPackage(ts,package,dist,srpmlocdict)
+ debugprint('Removing tmp tree %s' % signtmpdir)
+ if not DEBUG:
+ shutil.rmtree(signtmpdir)
+
# TODO:
ExtrasMultiLib.savePendingPkgs(dist)
@@ -572,10 +576,6 @@
for path in files['pkgrelroot']:
mark_pkg_pushed(path)
- debugprint('Removing tmp tree %s' % signtmpdir)
- if not DEBUG:
- shutil.rmtree(signtmpdir)
-
# All done, now check if something changed unless we already know it did:
if not changed:
for repodir in repodirs:
More information about the scm-commits
mailing list