mtpgwlib.Archive
index
/home/klokan/Projects/MarineTrans/opt/mtpgw/lib/mtpgwlib/Archive.py

Archive module
--------------
Define Archive class which cover all processing on filesystem-based archive for MTP project.
 
MTP - Marine Trans Purchasing
Copyright (2005) Klokan Petr Pridal

 
Modules
       
os

 
Classes
       
Archive

 
class Archive
    Archive class implements all archive operation (like storing files in, retrieving files, etc.) for set of files which are covered by one JobID
 
  Methods defined here:
__init__(self, jobID, activePath='/opt/mtpgw/var/spool/active', archivePath='/opt/mtpgw/var/spool/archive', log=None)
Initialization of Archive class
save(self, doc, data, filename, type=None, email=None)
Saves given document as REQ into archive

 
Data
        MAXFILESFORNAME = 1000
config = <mtpgwlib.Config.Config instance>