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

def uicilibris::wikiParser::wikiParser::reloadCache (   self,
  text,
  info = "" 
)
Reloads the cache from a given text, after running template processors.
@param text a unicode string with wiki code.
@param info some informative message

Definition at line 279 of file wikiParser.py.

                                        :
        """
        Reloads the cache from a given text, after running template processors.
        @param text a unicode string with wiki code.
        @param info some informative message
        """
        if info: print >> sys.stderr, "'%s'" %info
        text=self.applyPLugins(text)
        text=self.wikiTemplates(text)
        self.loadUrlLines(text+"\n")
        self.cache.reset()
        self.lines=self.cache.read_file_to_lines(filename='url', fileObj=self.urlLines, encoding="utf-8")


Generated by  Doxygen 1.6.0   Back to index