Logo Search packages:      
Sourcecode: jaxml version File versions  Download package

def jaxml::CGI_document::__init__ (   self,
  args 
)
Initialise local datas.

Definition at line 960 of file jaxml.py.

                               :
        """
        Initialise local datas.
        """
        HTML_document.__init__(self)
        #translate keyword argument 'debug' to 'debug_file' to not break API
        if args.has_key("debug") :
            if args.has_key("debug_file"):
                #in case both arguments 'debug' and 'debug_file' are given, the latter wins
                args.pop("debug")
            else :
                args["debug_file"] = args.pop("debug")
 
        for key in self.__possibleargs.keys() :
                if args.has_key(key) :
                        value = args[key]
                else :
                        value = self.__possibleargs[key]
                setattr(self, "__" + key + "__", value)


Generated by  Doxygen 1.6.0   Back to index