Skip to content

Commit c2bfe3e

Browse files
committed
build_scripts: self.announce --> log.info because it is visible
1 parent 946b181 commit c2bfe3e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

roundup/dist/command/build_scripts.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
# For license terms see the file COPYING.txt.
55
#
66
from distutils.command.build_scripts import build_scripts as base
7+
from distutils import log
78
import sys, os, string
89

910
class build_scripts(base):
@@ -106,7 +107,7 @@ def copy_scripts(self):
106107
# continue
107108

108109
if self.dry_run:
109-
self.announce("would create %s" % outfile)
110+
log.info("would create %s" % outfile)
110111
continue
111112

112113
module = os.path.splitext(os.path.basename(script))[0]
@@ -118,7 +119,7 @@ def copy_scripts(self):
118119
'prefix': self.script_preamble,
119120
}
120121

121-
self.announce("creating %s" % outfile)
122+
log.info("writing %s" % outfile)
122123
file = open(outfile, 'w')
123124

124125
try:

0 commit comments

Comments
 (0)