[svn] commit: r3213 - in /branches/trac191-rebased/src/bin/stats: stats.py.in stats_stub.py.in tests/isc/utils/ tests/isc/utils/__init__.py tests/isc/utils/process.py
BIND 10 source code commits
bind10-changes at lists.isc.org
Fri Oct 15 05:03:31 UTC 2010
Author: naokikambe
Date: Fri Oct 15 05:03:31 2010
New Revision: 3213
Log:
- fixes for setproctitle (#322: Process name in Python)
- add a dummy module of isc.utils.process under stats/tests
Added:
branches/trac191-rebased/src/bin/stats/tests/isc/utils/
branches/trac191-rebased/src/bin/stats/tests/isc/utils/__init__.py
branches/trac191-rebased/src/bin/stats/tests/isc/utils/process.py (with props)
Modified:
branches/trac191-rebased/src/bin/stats/stats.py.in
branches/trac191-rebased/src/bin/stats/stats_stub.py.in
Modified: branches/trac191-rebased/src/bin/stats/stats.py.in
==============================================================================
--- branches/trac191-rebased/src/bin/stats/stats.py.in (original)
+++ branches/trac191-rebased/src/bin/stats/stats.py.in Fri Oct 15 05:03:31 2010
@@ -33,6 +33,10 @@
from fake_time import time, strftime, gmtime #@@REMOVED@@
except ImportError: #@@REMOVED@@
pass #@@REMOVED@@
+
+# for setproctitle
+import isc.utils.process
+isc.utils.process.rename()
# If B10_FROM_BUILD is set in the environment, we use data files
# from a directory relative to that, otherwise we use the ones
Modified: branches/trac191-rebased/src/bin/stats/stats_stub.py.in
==============================================================================
--- branches/trac191-rebased/src/bin/stats/stats_stub.py.in (original)
+++ branches/trac191-rebased/src/bin/stats/stats_stub.py.in Fri Oct 15 05:03:31 2010
@@ -25,6 +25,10 @@
from isc.config.ccsession import ModuleCCSession, create_command, parse_answer, parse_command, create_answer
from isc.cc import Session, SessionError
from stats import get_datetime
+
+# for setproctitle
+import isc.utils.process
+isc.utils.process.rename()
# If B10_FROM_BUILD is set in the environment, we use data files
# from a directory relative to that, otherwise we use the ones
More information about the bind10-changes
mailing list