appy.gen: bugfixes.

This commit is contained in:
Gaetan Delannay 2011-12-05 18:15:45 +01:00
parent c5a8968bd3
commit d5f26dd1df
7 changed files with 44 additions and 39 deletions

View file

@ -1,5 +1,6 @@
<!codeHeader!>
import os, os.path, sys, copy
import appy
import appy.gen
import wrappers
<!imports!>
@ -46,4 +47,8 @@ grantableRoles = [<!grRoles!>]
languages = [<!languages!>]
languageSelector = <!languageSelector!>
sourceLanguage = '<!sourceLanguage!>'
# When Zope is starting or runs in test mode, there is no request object. We
# create here a fake one for storing Appy wrappers.
fakeRequest = appy.Object()
# ------------------------------------------------------------------------------