path-walker: use real logging
This commit is contained in:
@@ -46,13 +46,9 @@ class C_defs:
|
|||||||
|
|
||||||
|
|
||||||
if VERBOSE:
|
if VERBOSE:
|
||||||
_A = open("/tmp/a.log", 'w')
|
import logging
|
||||||
|
log_deps = logging.getLogger("path_walker")
|
||||||
class log_deps:
|
del logging
|
||||||
@staticmethod
|
|
||||||
def info(msg):
|
|
||||||
_A.write(msg)
|
|
||||||
_A.write("\n")
|
|
||||||
|
|
||||||
def set_as_str(s):
|
def set_as_str(s):
|
||||||
if s is None:
|
if s is None:
|
||||||
|
Reference in New Issue
Block a user