cleanup: remove extraneous prints (#12474)
Removes messages accidentally introduced in #12072 .
This commit is contained in:
parent
31ff791180
commit
aed204e409
@ -438,10 +438,8 @@ def create(self):
|
|||||||
"""
|
"""
|
||||||
# Emulate file permissions for tempfile.mkdtemp.
|
# Emulate file permissions for tempfile.mkdtemp.
|
||||||
if not os.path.exists(self.path):
|
if not os.path.exists(self.path):
|
||||||
print("TLD: %s does not exist, creating it" % self.path)
|
|
||||||
mkdirp(self.path, mode=stat.S_IRWXU)
|
mkdirp(self.path, mode=stat.S_IRWXU)
|
||||||
elif not os.path.isdir(self.path):
|
elif not os.path.isdir(self.path):
|
||||||
print("TLD: %s is not a directory, replacing it" % self.path)
|
|
||||||
os.remove(self.path)
|
os.remove(self.path)
|
||||||
mkdirp(self.path, mode=stat.S_IRWXU)
|
mkdirp(self.path, mode=stat.S_IRWXU)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user