From ca174fbdc542a10c4bd69ee15f705ee856789691 Mon Sep 17 00:00:00 2001 From: Patrice Clement Date: Tue, 8 Aug 2017 22:24:03 +0200 Subject: format strings in a saner way --- src/py/javatoolkit/cvv.py | 4 ++-- 1 file 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") -- cgit v1.2.3-65-gdbad