#1180: dApp::_initModuleNames not working on python 2.4 (patch included)
-------------------------+--------------------------------------------------
Reporter: cowo | Owner: somebody
Type: enhancement | Status: new
Priority: minor | Milestone: No Milestone
Component: app | Version: 0.8.4
Keywords: |
-------------------------+--------------------------------------------------
Importing of biz, db, ui, resources, reports by _initModuleNames does not
work on
ActivePython 2.4.2 Build 248 (Win32) because it imports the wrong modules.
Use the following code for python 2.4
import imp
try:
(f, p, d) = imp.find_module(dd)
setattr(self, dd, imp.load_module(dd, f, p, d))
except ImportError, e:
--
Ticket URL: <http://trac.dabodev.com/ticket/1180>
Dabo Trac <http://trac.dabodev.com>
Trac Page for Dabo
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]