diff options
author | Michał Górny <mgorny@gentoo.org> | 2012-04-10 09:56:16 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2012-04-10 09:56:16 +0200 |
commit | bec63d2692577a57c72d3d93ecf10007f96b2233 (patch) | |
tree | 19d39edc2a4b7a251120e3d621e57edd644ba852 /packages-inheriting-eclasses.py | |
parent | Fix pkgsplit error when using slots and globs (diff) | |
download | qa-scripts-bec63d2692577a57c72d3d93ecf10007f96b2233.tar.gz qa-scripts-bec63d2692577a57c72d3d93ecf10007f96b2233.tar.bz2 qa-scripts-bec63d2692577a57c72d3d93ecf10007f96b2233.zip |
Update for pkgcore API changes.
Diffstat (limited to 'packages-inheriting-eclasses.py')
-rwxr-xr-x | packages-inheriting-eclasses.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages-inheriting-eclasses.py b/packages-inheriting-eclasses.py index 29770b7..0e88c42 100755 --- a/packages-inheriting-eclasses.py +++ b/packages-inheriting-eclasses.py @@ -1,7 +1,7 @@ #!/usr/bin/python import collections, datetime, os, os.path, sys -import pkgcore.config # tested with pkgcore-0.6.4 +import pkgcore.config # tested with pkgcore-0.7.7.8 def main(argv): try: @@ -49,7 +49,7 @@ def main(argv): <li><a href="/">/ (go back)</a></li> </ul> </body> -</html>''' % (max([len(e) for e in output]), datetime.datetime.fromtimestamp(c.syncer['%s syncer' % portdir.location].current_timestamp()), '\n'.join(['<li><a href="%s.txt">%s.eclass</a> (%d packages),</li>' % (e, e, len(output[e])) for e in sorted(output)]))) +</html>''' % (max([len(e) for e in output]), datetime.datetime.fromtimestamp(c.syncer['sync:%s' % portdir.location].current_timestamp()), '\n'.join(['<li><a href="%s.txt">%s.eclass</a> (%d packages),</li>' % (e, e, len(output[e])) for e in sorted(output)]))) f.close() return 0 |