Changeset 31:b6fee0c2d45c

Show
Ignore:
Timestamp:
01/15/06 10:20:03 (3 years ago)
Author:
Allan Saddi <allan@saddi.com>
branch:
default
convert_revision:
svn:46762da8-4eb7-0310-94e9-d918b60927c8/flup/trunk@1837
Message:

Don't eat ImportErrors? in ImportingModuleResolvers?.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • ChangeLog

    r30 r31  
     12006-01-15  Allan Saddi  <asaddi@ganymede.saddi.net> 
     2 
     3        * Change the behavior of ImportingModuleResolver when dealing 
     4          with ImportErrors. Previously, it would act as if the module 
     5          did not exist. Now, it propagates the exception to another 
     6          level (outer middleware or WSGI). Reported by Scot Doyle. 
     7 
    182006-01-05  Allan Saddi  <asaddi@kalahari.flup.org> 
    29 
  • flup/resolver/importingmodule.py

    r28 r31  
    9191        if module_name and (module_name[0] != '_' or redirect) and \ 
    9292           not module_name.count('.'): 
    93             try: 
    94                 module = _import_module(module_name, path=self.path) 
    95             except: 
    96                 pass 
     93            module = _import_module(module_name, path=self.path) 
    9794 
    9895        if module is not None: