diff -r b6b98198ca52 -r 16261e66e421 common/migration.py --- a/common/migration.py Thu Jul 23 15:07:12 2009 +0200 +++ b/common/migration.py Thu Jul 23 15:07:25 2009 +0200 @@ -11,7 +11,7 @@ import sys import os import logging -from tempfile import mktemp +import tempfile from os.path import exists, join, basename, splitext from logilab.common.decorators import cached @@ -337,7 +337,7 @@ configfile = self.config.main_config_file() if self._option_changes: read_old_config(self.config, self._option_changes, configfile) - newconfig = mktemp() + newconfig = mkstemp() for optdescr in self._option_changes: if optdescr[0] == 'added': optdict = self.config.get_option_def(optdescr[1])