[Zope-CVS] CVS: Packages/zpkgtools/zpkgtools - runlog.py:1.2
Fred L. Drake, Jr.
fred at zope.com
Thu Apr 29 19:21:41 EDT 2004
Update of /cvs-repository/Packages/zpkgtools/zpkgtools
In directory cvs.zope.org:/tmp/cvs-serv15542
Modified Files:
runlog.py
Log Message:
get_logger() --> _get_logger(); this is very internal
=== Packages/zpkgtools/zpkgtools/runlog.py 1.1 => 1.2 ===
--- Packages/zpkgtools/zpkgtools/runlog.py:1.1 Thu Apr 29 19:20:27 2004
+++ Packages/zpkgtools/zpkgtools/runlog.py Thu Apr 29 19:21:40 2004
@@ -24,7 +24,7 @@
:param cmd: The command line we're going to run.
"""
- logger = get_logger()
+ logger = _get_logger()
#
# XXX Using two log entries isn't really the right way to do this,
# but makes things easier to debug for now. Not sure how well the
@@ -40,11 +40,11 @@
:param rc: The return code of the process.
"""
- logger = get_logger()
+ logger = _get_logger()
logger.debug("exit code: %s", rc)
-def get_logger():
+def _get_logger():
"""Return the logger to report with.
:rtype: logging.Logger
More information about the Zope-CVS
mailing list