Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 646df37 commit c9c520aCopy full SHA for c9c520a
1 file changed
plugins/generic/misc.py
@@ -15,6 +15,7 @@
15
from lib.core.common import ntToPosixSlashes
16
from lib.core.common import posixToNtSlashes
17
from lib.core.common import readInput
18
+from lib.core.common import singleTimeDebugMessage
19
from lib.core.common import unArrayizeValue
20
from lib.core.data import conf
21
from lib.core.data import kb
@@ -69,8 +70,7 @@ def getRemoteTempPath(self):
69
70
conf.tmpPath = normalizePath(conf.tmpPath)
71
conf.tmpPath = ntToPosixSlashes(conf.tmpPath)
72
- debugMsg = "going to use %s as temporary files directory" % conf.tmpPath
73
- logger.debug(debugMsg)
+ singleTimeDebugMessage("going to use %s as temporary files directory" % conf.tmpPath)
74
75
hashDBWrite(HASHDB_KEYS.CONF_TMP_PATH, conf.tmpPath)
76
0 commit comments