Changeset 3367 for pykota/trunk/bin/pkturnkey
- Timestamp:
- 05/03/08 18:58:06 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/bin/pkturnkey
r3295 r3367 381 381 def main(self, names, options) : 382 382 """Intializes PyKota's database.""" 383 if not self.config.isAdmin : 384 raise PyKotaCommandLineError, "%s : %s" % (pwd.getpwuid(os.geteuid())[0], \ 385 _("You're not allowed to use this command.")) 386 383 self.adminOnly() 384 387 385 if not names : 388 386 names = ["*"]