diff options
author | 2022-05-31 11:55:35 -0700 | |
---|---|---|
committer | 2022-05-31 11:55:35 -0700 | |
commit | 68a8b09d7dfd5d36c79b1076fff73c0e51613b45 (patch) | |
tree | 7d50cf33e30b4be3a8d6ad376b667ddddebb5cf0 | |
parent | main.py: Add indented backslash capability to multilne GENTOO_MIRRORS (diff) | |
download | mirrorselect-68a8b09d7dfd5d36c79b1076fff73c0e51613b45.tar.gz mirrorselect-68a8b09d7dfd5d36c79b1076fff73c0e51613b45.tar.bz2 mirrorselect-68a8b09d7dfd5d36c79b1076fff73c0e51613b45.zip |
setup.py: Fix logging in set_version
Fixes regresiion in 4cd4fb6280433f301ad9159f7473dc32ceb063d6
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
-rwxr-xr-x | setup.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -4,6 +4,7 @@ from __future__ import print_function +import logging import re import sys import os @@ -56,7 +57,7 @@ class set_version(Command): for line in s: newline = re.sub(pattern, '"%s"' % ver, line, 1) if newline != line: - log.info("%s: %s" % (f, newline)) + logging.info("%s: %s" % (f, newline)) updated_file.append(newline) with io.open(f, 'w', 1, 'utf_8') as s: s.writelines(updated_file) |