Show
Ignore:
Timestamp:
01/11/08 19:08:24 (16 years ago)
Author:
jerome
Message:

Moved all exceptions definitions to a dedicated module.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/bin/pkbanner

    r3275 r3288  
    3333    from reportlab.lib.units import cm 
    3434except ImportError :     
    35     hasRL = 0 
     35    hasRL = False 
    3636else :     
    37     hasRL = 1 
     37    hasRL = True 
    3838     
    3939try : 
    4040    import PIL.Image  
    4141except ImportError :     
    42     hasPIL = 0 
     42    hasPIL = False 
    4343else :     
    44     hasPIL = 1 
     44    hasPIL = True 
    4545     
    46 from pykota.tool import Tool, PyKotaToolError, PyKotaCommandLineError, crashed, N_ 
     46from pykota.errors import PyKotaToolError, PyKotaCommandLineError 
     47from pykota.tool import Tool, crashed, N_ 
    4748 
    4849__doc__ = N_("""pkbanner v%(__version__)s (c) %(__years__)s %(__author__)s