[i18ncubicweb] fix stupid NameError with mkdtemp
authorAdrien Di Mascio <Adrien.DiMascio@logilab.fr>
Wed, 05 Aug 2009 08:34:04 +0200
changeset 2692 bffb0e64736c
parent 2691 ade319674170
child 2693 3e91d1857bc5
[i18ncubicweb] fix stupid NameError with mkdtemp
devtools/devctl.py
--- a/devtools/devctl.py	Tue Aug 04 19:36:22 2009 +0200
+++ b/devtools/devctl.py	Wed Aug 05 08:34:04 2009 +0200
@@ -259,7 +259,7 @@
         from logilab.common.fileutils import ensure_fs_mode
         from logilab.common.shellutils import globfind, find, rm
         from cubicweb.common.i18n import extract_from_tal, execute
-        tempdir = tempdir.mkdtemp()
+        tempdir = tempfile.mkdtemp()
         potfiles = [join(I18NDIR, 'static-messages.pot')]
         print '-> extract schema messages.'
         schemapot = join(tempdir, 'schema.pot')