Skip to content

Commit

Permalink
Add an aq_explicit property to the Application object as it is not lo…
Browse files Browse the repository at this point in the history
…nger aq wrapped.
  • Loading branch information
lrowe committed Jan 22, 2011
1 parent 5556783 commit ed37538
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/OFS/Application.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,14 @@ def REQUEST(self, value):
def REQUEST(self):
del self.__dict__['REQUEST']

@property
def aq_explicit(self):
# aq_explict is a property of acquisition wrappers. As the Application
# object is no longer wrapped in a RequestContainer, it must be
# supported directly.
return self


InitializeClass(Application)


Expand Down

0 comments on commit ed37538

Please sign in to comment.