projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2d73c1
)
Use pkg.mtime instead of calling stat().
author
Zac Medico
<zmedico@gentoo.org>
Tue, 10 Jun 2008 01:19:15 +0000
(
01:19
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Tue, 10 Jun 2008 01:19:15 +0000
(
01:19
-0000)
svn path=/main/branches/2.1.2/; revision=10630
bin/repoman
patch
|
blob
|
history
diff --git
a/bin/repoman
b/bin/repoman
index d80b033bbff31c8f0c0c2de1572158777f50ffb6..60e10dc4c1c1a293d5f353c4ea49cfb875c65b7a 100755
(executable)
--- a/
bin/repoman
+++ b/
bin/repoman
@@
-1868,7
+1868,7
@@
for x in scanlist:
f.close()
del f
- myear = time.gmtime(
os.stat(full_path)[ST_MTIME]
)[0]
+ myear = time.gmtime(
pkg.mtime
)[0]
gentoo_copyright = re.compile(r'^# Copyright ((1999|200\d)-)?' + str(myear) + r' Gentoo Foundation')
gentoo_license = re.compile(r'^# Distributed under the terms of the GNU General Public License v2$')
cvs_header = re.compile(r'^#\s*\$Header.*\$$')