dilfridge    14/06/04 21:22:13

  Added:                exiv2-0.24-python3.patch
  Log:
  Version bump
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
EBE6A336BE19039C!)

Revision  Changes    Path
1.1                  media-gfx/exiv2/files/exiv2-0.24-python3.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/exiv2/files/exiv2-0.24-python3.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/exiv2/files/exiv2-0.24-python3.patch?rev=1.1&content-type=text/plain

Index: exiv2-0.24-python3.patch
===================================================================
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)




Reply via email to