Skip to content

Commit

Permalink
Added magic allow access variable to the class that implements namesp…
Browse files Browse the repository at this point in the history
…aces

within the DTML machinery.
  • Loading branch information
Unknown committed May 25, 2000
1 parent 80aafd7 commit 8831c1d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions DT_Util.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@
# attributions are listed in the accompanying credits file.
#
##############################################################################
'''$Id: DT_Util.py,v 1.62 2000/05/11 18:54:14 jim Exp $'''
__version__='$Revision: 1.62 $'[11:-2]
'''$Id: DT_Util.py,v 1.63 2000/05/25 18:29:25 brian Exp $'''
__version__='$Revision: 1.63 $'[11:-2]

import regex, string, math, os
from string import strip, join, atoi, lower, split, find
Expand Down Expand Up @@ -251,7 +251,9 @@ def obsolete_attr(self, inst, name, md):
d['hasattr']=careful_hasattr
d['range']=careful_range

class namespace_: pass
class namespace_:
__allow_access_to_unprotected_subobjects__=1


def namespace(self, **kw):
"""Create a tuple consisting of a single instance whos attributes are
Expand Down

0 comments on commit 8831c1d

Please sign in to comment.