示例#1
0
    def __init__(self, app_directory, appConfig, **kwargs):
        """
        """
        spell_directories = []
        nsFragments = ('agatsuma', 'web', 'pylons', 'spells', 'common')
        spell_directories.extend ([self.internal_spell_space(*nsFragments)
                            ])
        spell_directories.extend(kwargs.get('spell_directories', []))
        kwargs['spell_directories'] = spell_directories

        Core.__init__(self, app_directory, appConfig, **kwargs)
        PylonsAdaptor.__init__(self, **kwargs)
示例#2
0
 def setup_pylons(self, **kwargs):
     PylonsAdaptor.__init__(self, **kwargs)
     self.set_wsgi(self.app)