| Trees | Indices | Help |
|---|
|
|
object --+
|
skytools.scripting.DBScript --+
|
Syncer
| Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from |
|||
| Class Variables | |
|
Inherited from |
| Properties | |
|
Inherited from |
| Method Details |
Script setup. User class should override work() and optionally __init__(), startup(), reload(), reset() and init_optparse(). NB: in case of daemon, the __init__() and startup()/work() will be run in different processes. So nothing fancy should be done in __init__().
|
Initialize a OptionParser() instance that will be used to parse command line arguments. Note that it can be overrided both directions - either DBScript will initialize a instance and passes to user code or user can initialize and then pass to DBScript.init_optparse().
|
|
| Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0beta1 on Tue Mar 13 13:26:13 2007 | http://epydoc.sourceforge.net |