Commit 59782e7f authored by 's avatar

Added __roles__=None to RequestContainer for SQL objects to work correctly.

parent e5a4c7b8
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
# attributions are listed in the accompanying credits file. # attributions are listed in the accompanying credits file.
# #
############################################################################## ##############################################################################
__version__='$Revision: 1.20 $'[11:-2] __version__='$Revision: 1.21 $'[11:-2]
from string import join, split, find, rfind, lower, upper from string import join, split, find, rfind, lower, upper
from urllib import quote from urllib import quote
...@@ -92,6 +92,7 @@ UNSPECIFIED_ROLES='' ...@@ -92,6 +92,7 @@ UNSPECIFIED_ROLES=''
try: try:
from ExtensionClass import Base from ExtensionClass import Base
class RequestContainer(Base): class RequestContainer(Base):
__roles__=None
def __init__(self,**kw): def __init__(self,**kw):
for k,v in kw.items(): self.__dict__[k]=v for k,v in kw.items(): self.__dict__[k]=v
...@@ -100,6 +101,7 @@ try: ...@@ -100,6 +101,7 @@ try:
except: except:
class RequestContainer: class RequestContainer:
__roles__=None
def __init__(self,**kw): def __init__(self,**kw):
for k,v in kw.items(): self.__dict__[k]=v for k,v in kw.items(): self.__dict__[k]=v
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment