Package moap :: Package command :: Module tracadmin :: Class Rename
[hide private]
[frames] | no frames]

Class Rename

source code

extern.command.command.Command --+    
                                 |    
       extern.log.log.Loggable --+    
                                 |    
              util.util.LogCommand --+
                                     |
                                    Rename

Instance Methods [hide private]
 
addOptions(self)
Override me to add options to the parser.
source code
 
do(self, args)
Override me to implement the functionality of the command.
source code
 
renameUser(self, old, new) source code

Inherited from util.util.LogCommand: __init__, debug

Inherited from extern.command.command.Command: getRootCommand, handleOptions, outputHelp, outputUsage, parse

Inherited from extern.log.log.Loggable: doLog, error, info, log, logFunction, logObjectName, warning, warningFailure

Class Variables [hide private]
  summary = 'rename a user in the Trac database'
short one-line summary of the command
  description = 'Rename a user in the Trac database.\n\nThis upd...
longer paragraph explaining the command

Inherited from extern.command.command.Command: aliasedSubCommands, aliases, name, parentCommand, parser, subCommandClasses, subCommands, usage

Inherited from extern.log.log.Loggable: logCategory

Method Details [hide private]

addOptions(self)

source code 

Override me to add options to the parser.

Overrides: extern.command.command.Command.addOptions
(inherited documentation)

do(self, args)

source code 

Override me to implement the functionality of the command.

Overrides: extern.command.command.Command.do
(inherited documentation)

Class Variable Details [hide private]

description

longer paragraph explaining the command
Value:
'''Rename a user in the Trac database.

This updates all tables in the trac database where usernames are store\
d.
This operation obviously is non-reversible, so use with care.

Only tested with the sqlite backend of Trac, but since it uses the Tra\
c
...