chiark / gitweb /
config reading: log correct filenames
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 23 Apr 2017 23:40:29 +0000 (00:40 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 23 Apr 2017 23:40:29 +0000 (00:40 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
hippotatlib/__init__.py

index 588012a..1460d5a 100644 (file)
@@ -541,7 +541,7 @@ def common_startup(process_cfg):
   def readconfig(pathname, mandatory=True):
     def log(m, p=pathname):
       if not DBG.CONFIG in debug_set: return
-      log_debug_config('%s: %s' % (m, pathname))
+      log_debug_config('%s: %s' % (m, p))
 
     try:
       files = os.listdir(pathname)