Merge "Moved create directory log level to debug"
This commit is contained in:
commit
89506addb7
@ -80,7 +80,7 @@ class JenkinsManager(object):
|
|||||||
output_fn = os.path.join(output_dir, 'config.xml')
|
output_fn = os.path.join(output_dir, 'config.xml')
|
||||||
|
|
||||||
if output_dir != output:
|
if output_dir != output:
|
||||||
logger.info("Creating directory %s" % output_dir)
|
logger.debug("Creating directory %s" % output_dir)
|
||||||
try:
|
try:
|
||||||
os.makedirs(output_dir)
|
os.makedirs(output_dir)
|
||||||
except OSError:
|
except OSError:
|
||||||
@ -239,7 +239,7 @@ class JenkinsManager(object):
|
|||||||
|
|
||||||
if (output and not hasattr(output, 'write') and
|
if (output and not hasattr(output, 'write') and
|
||||||
not os.path.isdir(output)):
|
not os.path.isdir(output)):
|
||||||
logger.info("Creating directory %s" % output)
|
logger.debug("Creating directory %s" % output)
|
||||||
try:
|
try:
|
||||||
os.makedirs(output)
|
os.makedirs(output)
|
||||||
except OSError:
|
except OSError:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user