FIX using pylint for python2.
All checks were successful
buildbot/django-test-test-python3 Build done.
buildbot/django-test-test-python2 Build done.

This commit is contained in:
2019-10-24 16:33:11 +02:00
parent 077e25e57c
commit e9a43740ee
4 changed files with 12 additions and 5 deletions

View File

@@ -8,5 +8,6 @@ def mkdtemp(prefix):
dirname = os.path.dirname
pkg_base_dir = dirname(dirname(dirname(__file__)))
tmp_dir = os.path.join(pkg_base_dir, 'tmp')
os.makedirs(tmp_dir, exist_ok=True)
# os.makedirs(tmp_dir, exist_ok=True)
os.makedirs(tmp_dir)
return _mkdtmp(prefix=prefix, dir=tmp_dir)