Changeset 161


Ignore:
Timestamp:
05/19/09 17:16:48 (12 years ago)
Author:
sander
Message:

print file path when a load error occurs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/factory/src/backends/__init__.py

    r128 r161  
    116116                        file.close() 
    117117                except (IOError): 
    118                         raise BackendException('Could not read file') 
     118                        raise BackendException('Could not read file %s' % path) 
    119119 
    120120                if encode: 
Note: See TracChangeset for help on using the changeset viewer.