Changeset 2093

Show
Ignore:
Timestamp:
02/22/05 18:56:58 (19 years ago)
Author:
jalet
Message:

Now logs the type of user running the command : mere mortal vs PyKota Admin

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/pykota/tool.py

    r2060 r2093  
    2222# 
    2323# $Log$ 
     24# Revision 1.151  2005/02/22 17:56:58  jalet 
     25# Now logs the type of user running the command : mere mortal vs PyKota Admin 
     26# 
    2427# Revision 1.150  2005/02/14 22:53:44  jalet 
    2528# Now always precomputes the job's size with the internal PDL parser, and not 
     
    828831            self.crashed(msg) 
    829832            raise 
     833        else :     
     834            if self.config.isAdmin : # TODO : We don't know this before, fix this ! 
     835                self.logdebug("Beware : running as a PyKota administrator !") 
     836            else :     
     837                self.logdebug("Don't Panic : running as a mere mortal !") 
    830838         
    831839    def clean(self) :