Show
Ignore:
Timestamp:
05/03/08 18:58:06 (16 years ago)
Author:
jerome
Message:

Moved new method around.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/bin/pkinvoice

    r3365 r3367  
    189189            raise PyKotaToolError, "The Python Imaging Library is missing. Download it from http://www.pythonware.com/downloads" 
    190190             
    191         if not self.config.isAdmin : 
    192             raise PyKotaCommandLineError, "%s : %s" % (pwd.getpwuid(os.geteuid())[0], _("You're not allowed to use this command.")) 
     191        self.adminOnly() 
    193192         
    194193        self.pagesize = getPageSize(options.pagesize)