Browse Source

[2297] (unrelated cleanup) don't bother to rename() it to be more standaalone

rename() sysinfo doesn't make much sense anyway, because it's a short-lived
process.
JINMEI Tatuya 12 years ago
parent
commit
54a0395599
2 changed files with 3 additions and 3 deletions
  1. 3 0
      src/bin/sysinfo/run_sysinfo.sh.in
  2. 0 3
      src/bin/sysinfo/sysinfo.py.in

+ 3 - 0
src/bin/sysinfo/run_sysinfo.sh.in

@@ -20,6 +20,9 @@ export PYTHON_EXEC
 
 SYSINFO_PATH=@abs_top_builddir@/src/bin/sysinfo
 
+# Note: we shouldn't need log_messages except for the seemingly necessary
+# dependency due to the automatic import in the isc package (its __init__.py
+# imports some other modules)
 PYTHONPATH=@abs_top_builddir@/src/lib/python:@abs_top_srcdir@/src/lib/python:@abs_top_builddir@/src/lib/python/isc/log_messages
 export PYTHONPATH
 

+ 0 - 3
src/bin/sysinfo/sysinfo.py.in

@@ -22,11 +22,8 @@ ISC sysinfo program.
 
 import sys; sys.path.append ('@@PYTHONPATH@@')
 import getopt
-import isc.util.process
 from isc.sysinfo import *
 
-isc.util.process.rename()
-
 def usage():
     print("Usage: %s [-h] [-o <output-file>]" % sys.argv[0], \
               file=sys.stderr)