Deleting the PSPReader.py file causes a traceback on starting the AppServer:

Traceback (most recent call last):
  File ".\WebKit\AppServer.py", line 211, in loadPlugIn
    willNotLoadReason = plugIn.load()
  File ".\WebKit\PlugIn.py", line 60, in load
    self._module = __import__(self._name, globals(), [], [])
  File "PSP\__init__.py", line 5, in ?
    from PSPServletFactory import PSPServletFactory
  File "PSP\PSPServletFactory.py", line 31, in ?
    from PSP import Context, PSPCompiler
  File "PSP\PSPCompiler.py", line 29, in ?
    from ServletWriter import ServletWriter
  File "PSP\ServletWriter.py", line 30, in ?
    from PSPReader import *
ImportError: No module named PSPReader

So unless you feel like spending more time on this, I'd leave it alone for
this release.

If you do want to clean this up, then let's get rid of the "from PSPReader
import *".  Importing * is almost always a bad idea, and this shows why --
you can't easily tell what ServletWriter is using from PSPReader, if
anything.

- Geoff

> -----Original Message-----
> From: Stuart Donaldson [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 17, 2003 12:10 PM
> To: Webware devel
> Subject: [Webware-devel] PSPReader obsolete?
> 
> 
> Can we get rid of PSPReader?  It appears to be obsolete.  
> 
> In its place, StreamReader.PSPReader is used.  
> 
> -Stuart-


-------------------------------------------------------
This SF.NET email is sponsored by: Thawte.com - A 128-bit supercerts will
allow you to extend the highest allowed 128 bit encryption to all your 
clients even if they use browsers that are limited to 40 bit encryption. 
Get a guide here:http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0030en
_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-devel

Reply via email to