Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 365790 Details for
Bug 494920
media-gfx/exiv2 - add dev-lang/python-3* and proper multilib support
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
add python3 support to exiv2
exiv2-0.23-python3-ready.patch (text/plain), 939 bytes, created by
Alex Turbov
on 2013-12-21 04:11:19 UTC
(
hide
)
Description:
add python3 support to exiv2
Filename:
MIME Type:
Creator:
Alex Turbov
Created:
2013-12-21 04:11:19 UTC
Size:
939 bytes
patch
obsolete
>diff -ub -r exiv2-0.23.org/doc/templates/gen.py exiv2-0.23/doc/templates/gen.py >--- exiv2-0.23.org/doc/templates/gen.py 2005-05-28 19:35:08.000000000 +0400 >+++ exiv2-0.23/doc/templates/gen.py 2013-12-21 03:03:54.000000000 +0400 >@@ -7,9 +7,9 @@ > # ---------------------------------------------------------------------- > # functions > def usage(): >- print """Usage: gen.py file.in [...] >+ print("""Usage: gen.py file.in [...] > Substitute placeholders in input files with content >- """ >+ """) > > def gen_html(file): > """Replace variables in the file with their content""" >@@ -49,9 +49,9 @@ > vars.sort() > > # Substitute variables in all input files >-print "Substituting variables", vars >+print("Substituting variables {0}".format(vars)) > for file in input: >- print "Processing", file, "..." >+ print("Processing {0}...".format(file)) > text = gen_html(file) > file = file.replace(".in", "") > open(file, 'w').write(text)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 494920
:
365788
| 365790