Home | Trees | Indices | Help |
---|
|
object --+ | ChatlogMover
|
|||
|
__init__(self,
srcdir,
destdir) x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
||
|
findLogs(self) Find log files in self._path |
||
|
_findCreated(self,
fpath) Parse chatlog to find "started" date |
||
|
_makeFilename(self,
created,
stopped) Build a filename from created and stopped information |
||
|
moveChatlog(self,
details) Move a chatlogs from old to new location |
||
|
moveChatlogs(self) Move all chatlogs |
||
|
__len__(self) len() suppor |
||
|
__iter__(self) Iterate over the files to move |
||
Inherited from |
|
|||
|
_pat = 'chat*.log'
|
||
|
_filename = 'chatlog_%(sY)02i%(sM)02i%(sD)02i_%(ch)02i%(cm)02i_%...
|
|
|||
Inherited from |
|
|
Find log files in self._path Also calls and stores _findCreated(), modtime() and _makeFile() for the file. |
|
|
|
|
|
Iterate over the files to move Calls moveChatlog() for each element. This method is used to update a progress bar in the UI. |
|
_patNone
|
_filenameNone
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0alpha3 on Sun Feb 4 17:00:20 2007 | http://epydoc.sourceforge.net |