dabo Commit
Revision 2184
Date: 2006-05-30 13:48:26 -0700 (Tue, 30 May 2006)
Author: ed
Changed:
U trunk/dabo/lib/DesignerXmlConverter.py
Log:
Modified the app converter to use the temp file resources in the dApp class
instead. This should also fix the problem of hyphens appearing in the name of
generated Python scripts.
Diff:
Modified: trunk/dabo/lib/DesignerXmlConverter.py
===================================================================
--- trunk/dabo/lib/DesignerXmlConverter.py 2006-05-30 20:36:12 UTC (rev
2183)
+++ trunk/dabo/lib/DesignerXmlConverter.py 2006-05-30 20:48:26 UTC (rev
2184)
@@ -12,7 +12,6 @@
from dabo.dLocalize import _
from dabo.dObject import dObject
from dabo.lib.xmltodict import xmltodict as xtd
-from dabo.lib.reportUtils import getTempFile
# Doesn't matter what platform we're on; Python needs
# newlines in its compiled code.
LINESEP = "\n"
@@ -23,7 +22,7 @@
# Added to ensure unique object names
self._generatedNames = []
# Holds the text for the generated code file
- self._codeFileName = getTempFile("py")
+ self._codeFileName = self.Application.getTempFile("py")
self._codeImportAs = "_daboCode"
# Holds any import statements to apply to the class code.
self._import = ""
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev