projects
/
gentoolkit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60823a0
)
metadata: use print() in PackageFormatter doctest for Python 3 compatibility
author
W. Trevor King
<wking@tremily.us>
Mon, 12 Nov 2012 01:22:54 +0000
(20:22 -0500)
committer
W. Trevor King
<wking@tremily.us>
Mon, 12 Nov 2012 01:22:54 +0000
(20:22 -0500)
pym/gentoolkit/metadata.py
patch
|
blob
|
history
diff --git
a/pym/gentoolkit/metadata.py
b/pym/gentoolkit/metadata.py
index 9bcc17bc6487f320613e83b71265fe8971a09e8c..352fbefedb3840b2feb1b76dc5118fcd30e363ef 100644
(file)
--- a/
pym/gentoolkit/metadata.py
+++ b/
pym/gentoolkit/metadata.py
@@
-14,11
+14,11
@@
>>> pkg_md.herds()
['no-herd']
>>> for maint in pkg_md.maintainers():
- ... print
"{0} ({1})".format(maint.email, maint.name
)
+ ... print
('{0} ({1})'.format(maint.email, maint.name)
)
...
nixphoeni@gentoo.org (Joe Sapp)
>>> for flag in pkg_md.use():
- ... print
flag.name, "->", flag.description
+ ... print
(flag.name, '->', flag.description)
...
rtf -> Enable export to RTF
gnome-print -> Enable printing support using gnome-print