]> Savannah Git Hosting - gnulib.git/commitdiff
fix AutoconfVersionError message formatting
authorDmitry Selyutin <ghostmansd@gmail.com>
Wed, 13 Sep 2017 16:28:43 +0000 (19:28 +0300)
committerDmitry Selyutin <ghostmansd@gmail.com>
Wed, 13 Sep 2017 17:50:03 +0000 (20:50 +0300)
pygnulib/error.py

index a480c699b009761ad706e5f00669aa6ba1dfb01a..75ee13bf9a6d7aabfc915c2dd264ed447d070532 100644 (file)
@@ -24,7 +24,7 @@ def type_assert(key, value, types):
 class AutoconfVersionError(Exception):
     """minimum supported autoconf version mismatch"""
     def __init__(self, version):
-        fmt = "minimum supported autoconf version is %f"
+        fmt = "minimum supported autoconf version is {0}"
         super().__init__(fmt.format(version))