extras-repoclosure rc-report.py,1.27,1.28
Michael Schwendt (mschwendt)
fedora-extras-commits at redhat.com
Wed Dec 6 18:45:36 UTC 2006
- Previous message: rpms/osgcal/devel osgcal-0.1.44-64bit.patch, NONE, 1.1 .cvsignore, 1.2, 1.3 osgcal.spec, 1.5, 1.6 sources, 1.2, 1.3
- Next message: rpms/amarok/FC-6 amarok.spec,1.65,1.66
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: mschwendt
Update of /cvs/fedora/extras-repoclosure
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1159
Modified Files:
rc-report.py
Log Message:
shutil.copy() does os.chmod() which conflicts with our group environment
unless we deleted the dst file
Index: rc-report.py
===================================================================
RCS file: /cvs/fedora/extras-repoclosure/rc-report.py,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- rc-report.py 2 Dec 2006 08:50:36 -0000 1.27
+++ rc-report.py 6 Dec 2006 18:45:36 -0000 1.28
@@ -32,7 +32,7 @@
today = datetime.date.today() # +datetime.timedelta(days=15)
# Where to check out owners/owners.list
-ownersworkdir = '/srv/extras-push/work'
+ownersworkdir = '/srv/extras-push/work/extras-repoclosure'
# We identify broken packages based on their src.rpm name and don't report
# them more than once until expiration.
@@ -369,9 +369,11 @@
timestamp = os.stat(timestampfile).st_mtime
except OSError:
timestamp = 0
- shutil.copy('/dev/null',timestampfile)
+ f = open(timestampfile,'w')
+ f.close()
if len(reportssummary) or (datetime.date.fromtimestamp(timestamp)+datetime.timedelta(days=7) < today):
- shutil.copy('/dev/null',timestampfile)
+ f = open(timestampfile,'w')
+ f.close()
mailsummary = True
else:
mailsummary = False
- Previous message: rpms/osgcal/devel osgcal-0.1.44-64bit.patch, NONE, 1.1 .cvsignore, 1.2, 1.3 osgcal.spec, 1.5, 1.6 sources, 1.2, 1.3
- Next message: rpms/amarok/FC-6 amarok.spec,1.65,1.66
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list