diff --git a/dh_python2 b/dh_python2
index 8dfc1ba2dfc00b6ddcfa6c0dc5b71559799d2804..e5c087a3505366f7dfd2f09f6d298d2754ffc243 100755
--- a/dh_python2
+++ b/dh_python2
@@ -143,7 +143,7 @@ def share(package, stats, options):
                 versions_without_ext = debsorted(set(pubvers) -\
                                                  stats['public_ext'])
                 if not versions_without_ext:
-                    log.error('extension for python%s is missing. ',
+                    log.error('extension for python%s is missing. '
                              'Build extensions for all supported Python '
                              'versions (`pyversions -vr`) or adjust '
                              'X-Python-Version field or pass '