Changeset 3367 for pykota/trunk/bin/pkprinters
- Timestamp:
- 05/03/08 18:58:06 (16 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/bin/pkprinters
r3295 r3367 190 190 def main(self, names, options) : 191 191 """Manage printers.""" 192 if (not self.config.isAdmin) and (not options["list"]):193 raise PyKotaCommandLineError, "%s : %s" % (pwd.getpwuid(os.geteuid())[0], _("You're not allowed to use this command."))192 if not options["list"] : 193 self.adminOnly() 194 194 195 195 docups = options["cups"]