extras-buildsys/utils/pushscript Utils.py,1.14,1.15
Michael Schwendt (mschwendt)
fedora-extras-commits at redhat.com
Sun Mar 4 01:11:39 UTC 2007
- Previous message (by thread): extras-buildsys/utils/pushscript Utils.py,1.13,1.14
- Next message (by thread): rpms/python-nose/devel python-nose-0.9.2-mandir.patch, NONE, 1.1 .cvsignore, 1.4, 1.5 python-nose.spec, 1.4, 1.5 sources, 1.4, 1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: mschwendt
Update of /cvs/fedora/extras-buildsys/utils/pushscript
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv924
Modified Files:
Utils.py
Log Message:
previous commit to false location
Index: Utils.py
===================================================================
RCS file: /cvs/fedora/extras-buildsys/utils/pushscript/Utils.py,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- Utils.py 4 Mar 2007 01:00:40 -0000 1.14
+++ Utils.py 4 Mar 2007 01:11:36 -0000 1.15
@@ -204,7 +204,7 @@
if not os.path.exists(ref_file):
return True
ref_mtime = os.path.getmtime(ref_file)
- if os.path.getmtime(repodir) > ref_mtime:
+ if os.path.getmtime(repodir) > ref_mtime+1: # +1 => allow dirs to be 1s off
return True
ignored_dirs = (
os.path.join(repodir, 'repodata'),
@@ -220,7 +220,7 @@
for d in map(lambda x: os.path.join(root, x), dirs):
if d in ignored_dirs:
continue
- elif os.path.getmtime(d) > ref_mtime+1: # +1 => allow dirs to be 1s off
+ elif os.path.getmtime(d) > ref_mtime:
return True
for f in fnmatch.filter(files, '*.rpm'):
if os.path.getmtime(os.path.join(root, f)) > ref_mtime:
- Previous message (by thread): extras-buildsys/utils/pushscript Utils.py,1.13,1.14
- Next message (by thread): rpms/python-nose/devel python-nose-0.9.2-mandir.patch, NONE, 1.1 .cvsignore, 1.4, 1.5 python-nose.spec, 1.4, 1.5 sources, 1.4, 1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list