[SCM] exiv2 packaging branch, master, updated. debian/0.25-3.1-3734-gdcbc29a
Maximiliano Curia
maxy at moszumanska.debian.org
Thu Jul 13 17:44:04 UTC 2017
Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/exiv2.git;a=commitdiff;h=00a027d
The following commit has been merged in the master branch:
commit 00a027d57d0d4b6c9f91aab72ccbf264e0242adb
Author: Robin Mills <robin at clanmills.com>
Date: Sat Dec 21 03:50:50 2013 +0000
Issue# 586. Thank You, Alex for this report and patch. Much appreciated.
---
doc/templates/gen.py | 8 ++++----
website/bin/gen.py | 8 ++++----
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/doc/templates/gen.py b/doc/templates/gen.py
index bb9c413..afc390d 100755
--- a/doc/templates/gen.py
+++ b/doc/templates/gen.py
@@ -7,9 +7,9 @@ date_format = "%d-%b-%Y"
# ----------------------------------------------------------------------
# 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 @@ for i in range(len(vars)-1, -1, -1):
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)
diff --git a/website/bin/gen.py b/website/bin/gen.py
index 4937858..5092fdc 100755
--- a/website/bin/gen.py
+++ b/website/bin/gen.py
@@ -7,9 +7,9 @@ date_format = "%d-%b-%Y"
# ----------------------------------------------------------------------
# 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 @@ for i in range(len(vars)-1, -1, -1):
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)
--
exiv2 packaging
More information about the pkg-kde-commits
mailing list