Sophie

Sophie

distrib > Fedora > 13 > i386 > media > os > by-pkgid > b19df05292ea6fc997c221dbeca1120c > files > 156

m2crypto-0.20.2-5.fc13.i686.rpm

"""GuardedFile.__init__

Copyright (c) 2000 Ng Pheng Siong. All rights reserved.
This software is released under the ZPL."""

__version__ = '1.1'

import GuardedFile

def initialize(context):
    try:
        context.registerClass(
            GuardedFile.GuardedFile,
            constructors=(GuardedFile.manage_addForm, GuardedFile.manage_addGuardedFile)
            #icon='folder.gif'
            )
        context.registerBaseClass(GuardedFile.GuardedFile)

    except:
        import sys, traceback, string
        type, val, tb = sys.exc_info()
        sys.stderr.write(string.join(
            traceback.format_exception(type, val, tb),''))
        del type, val, tb