common/migration.py
changeset 2460 ce1a7ffc6c90
parent 2446 440cb4ea7e5c
child 2461 1f38b65cbd20
--- a/common/migration.py	Thu Jul 23 15:57:15 2009 +0200
+++ b/common/migration.py	Thu Jul 23 17:15:05 2009 +0200
@@ -337,7 +337,7 @@
         configfile = self.config.main_config_file()
         if self._option_changes:
             read_old_config(self.config, self._option_changes, configfile)
-        newconfig = mkstemp()
+        newconfig = tempfile.mkstemp()
         for optdescr in self._option_changes:
             if optdescr[0] == 'added':
                 optdict = self.config.get_option_def(optdescr[1])