--- 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])
--- a/schema.py Thu Jul 23 15:57:15 2009 +0200
+++ b/schema.py Thu Jul 23 17:15:05 2009 +0200
@@ -793,6 +793,7 @@
PyFileReader.context['RRQLExpression'] = yobsolete(RRQLExpression)
# workflow extensions #########################################################
+from yams.buildobjs import _add_relation as yams_add_relation
class workflowable_definition(ybo.metadefinition):
"""extends default EntityType's metaclass to add workflow relations