Hey all,

I am not sure if this is a PSP bug.  PSP doesn't seem to do a proper import 
if I use:

   <%@ page imports="package:subpackage:module"%>

It creates in the .py servlet:

   from package import subpackage

instead of:

   from package.subpackage import module

My pretty simple fix is in the ParseEventHandler.py:
112c112,114
<                               module, symbol = string.split(i, ':')[:2]
---
>                               impfrags = string.split(i, ':')
>                               module   = string.join(impfrags[:-1], '.')
>                               symbol   = impfrags[-1]


Hope it helps...


C.





_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.


_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to