aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2017-08-08 22:24:03 +0200
committerPatrice Clement <monsieurp@gentoo.org>2017-08-08 22:39:00 +0200
commitca174fbdc542a10c4bd69ee15f705ee856789691 (patch)
tree93acc6501c4f2d40f8a685f68a763510aaad86a5
parentchange variable name (diff)
downloadjavatoolkit-ca174fbdc542a10c4bd69ee15f705ee856789691.tar.gz
javatoolkit-ca174fbdc542a10c4bd69ee15f705ee856789691.tar.bz2
javatoolkit-ca174fbdc542a10c4bd69ee15f705ee856789691.zip
format strings in a saner way
-rw-r--r--src/py/javatoolkit/cvv.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/py/javatoolkit/cvv.py b/src/py/javatoolkit/cvv.py
index b5f817e..6ae2501 100644
--- a/src/py/javatoolkit/cvv.py
+++ b/src/py/javatoolkit/cvv.py
@@ -16,9 +16,9 @@ class CVVMagic:
def add(self, version, jar, file):
if version <= self.target:
- self.good.append(("1."+str(version), jar, file))
+ self.good.append(("1.%s" % (version), jar, file))
else:
- self.bad.append(("1."+str(version), jar, file))
+ self.bad.append(("1.%s" % (version), jar, file))
def do_class(self,filename):
classFile = file(filename,"rb")