##// END OF EJS Templates
bundle2: make sure unbundled part param are read-only...
Pierre-Yves David -
r21609:63cc2594 default
parent child Browse files
Show More
@@ -708,8 +708,9 b' class unbundlepart(unpackermixin):'
708
708
709 def _initparams(self, mandatoryparams, advisoryparams):
709 def _initparams(self, mandatoryparams, advisoryparams):
710 """internal function to setup all logic related parameters"""
710 """internal function to setup all logic related parameters"""
711 self.mandatoryparams = mandatoryparams
711 # make it read only to prevent people touching it by mistake.
712 self.advisoryparams = advisoryparams
712 self.mandatoryparams = tuple(mandatoryparams)
713 self.advisoryparams = tuple(advisoryparams)
713
714
714 def _readheader(self):
715 def _readheader(self):
715 """read the header and setup the object"""
716 """read the header and setup the object"""
General Comments 0
You need to be logged in to leave comments. Login now