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/pknotify

    r3276 r3288  
    3131    import PAM 
    3232except ImportError :     
    33     hasPAM = 0 
     33    hasPAM = False 
    3434else :     
    35     hasPAM = 1 
    36  
    37 from pykota.tool import Tool, PyKotaToolError, PyKotaCommandLineError, crashed, N_ 
     35    hasPAM = True 
     36 
     37from pykota.errors import PyKotaToolError, PyKotaCommandLineError 
     38from pykota.tool import Tool, crashed, N_ 
    3839 
    3940__doc__ = N_("""pknotify v%(__version__)s (c) %(__years__)s %(__author__)s