cleanup: remove extraneous prints (#12474)

Removes messages accidentally introduced in #12072 .
This commit is contained in:
Tamara Dahlgren 2019-08-19 14:49:09 -07:00 committed by GitHub
parent 31ff791180
commit aed204e409
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -438,10 +438,8 @@ def create(self):
"""
# Emulate file permissions for tempfile.mkdtemp.
if not os.path.exists(self.path):
print("TLD: %s does not exist, creating it" % self.path)
mkdirp(self.path, mode=stat.S_IRWXU)
elif not os.path.isdir(self.path):
print("TLD: %s is not a directory, replacing it" % self.path)
os.remove(self.path)
mkdirp(self.path, mode=stat.S_IRWXU)