Show
Ignore:
Timestamp:
10/06/04 12:05:47 (20 years ago)
Author:
jalet
Message:

Minor changes to allow any PyKota administrator to launch enhanced versions
of the commands, and not only the root user.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/bin/dumpykota

    r1779 r1785  
    2424# 
    2525# $Log$ 
     26# Revision 1.10  2004/10/06 10:05:47  jalet 
     27# Minor changes to allow any PyKota administrator to launch enhanced versions 
     28# of the commands, and not only the root user. 
     29# 
    2630# Revision 1.9  2004/10/05 20:08:46  jalet 
    2731# Misleading help message. Thx to Johannes Laemmermann. 
     
    149153    def main(self, arguments, options) : 
    150154        """Print Quota Data Dumper.""" 
     155        if not self.config.isAdmin : 
     156            raise PyKotaToolError, _("You're not allowed to dump PyKota's datas.") 
     157             
    151158        datatype = options["data"] 
    152159        if datatype not in [ "history",