Update of /cvsroot/webware/Webware/MiddleKit
In directory sc8-pr-cvs1:/tmp/cvs-serv5214
Modified Files:
__init__.py
Log Message:
- allow class models to be in .xls format
- be more friendly towards Unicode strings in the model
Index: __init__.py
===================================================================
RCS file: /cvsroot/webware/Webware/MiddleKit/__init__.py,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** __init__.py 26 Oct 2001 23:22:06 -0000 1.11
--- __init__.py 8 Dec 2003 06:08:40 -0000 1.12
***************
*** 3,7 ****
__version__ = '0.2'
! __all__ = ['Core', 'Design', 'Run']
import os
--- 3,7 ----
__version__ = '0.2'
! __all__ = ['Core', 'Design', 'Run', 'StringTypes']
import os
***************
*** 18,19 ****
--- 18,25 ----
else:
print 'WARNING: Cannot locate %s.' % path
+
+
+ try:
+ from types import StringTypes
+ except ImportError:
+ from types import StringType as StringTypes
|