Skip to content

Commit c08d84e

Browse files
committed
fix magic number
1 parent c20e7f0 commit c08d84e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nipype/pipeline/engine/nodes.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
import socket
2626
from copy import deepcopy
2727
from glob import glob
28+
from logging import INFO
2829

2930
from tempfile import mkdtemp
3031
from future import standard_library
@@ -356,7 +357,7 @@ def is_cached(self, rm_outdated=False):
356357
logger.info('[Node] Outdated cache found for "%s".', self.fullname)
357358
# If logging is more verbose than INFO (20), print diff between hashes
358359
loglevel = logger.getEffectiveLevel()
359-
if loglevel < 40: # Lazy logging: only < INFO
360+
if loglevel < INFO: # Lazy logging: only < INFO
360361
exp_hash_file_base = split_filename(hashfiles[0])[1]
361362
exp_hash = exp_hash_file_base[len('_0x'):]
362363
logger.log(loglevel, "[Node] Old/new hashes = %s/%s",

0 commit comments

Comments
 (0)