* some pylint fixes (addresses #24)
* add pydoc in client and domain backend classes * add support for buildutils in setup.py git-svn-id: file:///home/www/usr01/svn/gnuviechadmin/trunk@262 a67ec6bc-e5d5-0310-a910-815c51eb3124
This commit is contained in:
parent
4ee62d5b2e
commit
daf9517a83
13 changed files with 147 additions and 69 deletions
|
@ -18,12 +18,17 @@
|
|||
# USA.
|
||||
#
|
||||
# Version: $Id$
|
||||
import CliCommand
|
||||
"""This module provides the command line interface code for system
|
||||
user management."""
|
||||
from gnuviechadmin.cli.CliCommand import CliCommand
|
||||
import sys
|
||||
|
||||
|
||||
class SysuserCli(CliCommand.CliCommand):
|
||||
"""Command line interface command for system user managament."""
|
||||
class SysuserCli(CliCommand):
|
||||
"""Command line interface command for system user management.
|
||||
|
||||
This class implements `gnuviechadmin.cli.CliCommand.CliCommand`.
|
||||
"""
|
||||
|
||||
name = "sysuser"
|
||||
description = "manage system users"
|
||||
|
@ -47,6 +52,10 @@ class SysuserCli(CliCommand.CliCommand):
|
|||
"the system user id", True)])}
|
||||
|
||||
def _execute(self, subcommand):
|
||||
"""Executes `subcommand`.
|
||||
|
||||
This method implements `CliCommand._execute()`.
|
||||
"""
|
||||
self.logger.debug("execute %s with data %s", subcommand,
|
||||
str(self._data))
|
||||
from gnuviechadmin.backend import sysuser
|
||||
|
@ -70,4 +79,5 @@ class SysuserCli(CliCommand.CliCommand):
|
|||
self._data["sysuserid"])
|
||||
|
||||
def __init__(self, argv):
|
||||
"""Constructor for the sysuser command."""
|
||||
CliCommand.CliCommand.__init__(self, argv)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue