public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Brian Dolbec" <dolsen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/mirrorselect:master commit in: /
Date: Tue, 31 May 2022 18:56:51 +0000 (UTC)	[thread overview]
Message-ID: <1654023335.68a8b09d7dfd5d36c79b1076fff73c0e51613b45.dolsen@gentoo> (raw)

commit:     68a8b09d7dfd5d36c79b1076fff73c0e51613b45
Author:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Tue May 31 18:55:35 2022 +0000
Commit:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
CommitDate: Tue May 31 18:55:35 2022 +0000
URL:        https://gitweb.gentoo.org/proj/mirrorselect.git/commit/?id=68a8b09d

setup.py:  Fix logging in set_version

Fixes regresiion in 4cd4fb6280433f301ad9159f7473dc32ceb063d6

Signed-off-by: Brian Dolbec <dolsen <AT> gentoo.org>

 setup.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index 7c4165c..0d68f07 100755
--- a/setup.py
+++ b/setup.py
@@ -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)


             reply	other threads:[~2022-05-31 18:56 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-31 18:56 Brian Dolbec [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-08-07  0:14 [gentoo-commits] proj/mirrorselect:master commit in: / Sam James
2022-07-10 21:16 Brian Dolbec
2022-05-31  4:08 Brian Dolbec
2019-02-13  8:43 Zac Medico
2014-05-29 16:32 Brian Dolbec
2014-05-05  2:04 Brian Dolbec
2014-01-31 15:44 [gentoo-commits] proj/mirrorselect:ssl " Brian Dolbec
2014-03-02  7:44 ` [gentoo-commits] proj/mirrorselect:master " Brian Dolbec
2013-10-18 14:26 Brian Dolbec
2013-03-10 13:07 Brian Dolbec
2012-12-16  6:02 Brian Dolbec
2012-12-16  4:48 Brian Dolbec
2012-12-15 22:31 Brian Dolbec
2012-12-15 20:26 Brian Dolbec
2012-11-14 18:25 Paul Varner
2012-11-14 18:18 Paul Varner
2012-11-14 18:06 Paul Varner
2012-11-12 21:41 Brian Dolbec
2012-11-12 15:56 Brian Dolbec
2012-11-12  7:46 Brian Dolbec
2012-11-12  0:50 Brian Dolbec
2012-11-11 23:47 Brian Dolbec
2012-11-11 23:47 Brian Dolbec

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1654023335.68a8b09d7dfd5d36c79b1076fff73c0e51613b45.dolsen@gentoo \
    --to=dolsen@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox