Logo Search packages:      
Sourcecode: webcheck version File versions

def crawler::Link::add_anchor (   self,
  anchor 
)

Indicate that this page contains the specified anchor.

Definition at line 485 of file crawler.py.

00485                                 :
        """Indicate that this page contains the specified anchor."""
        # lowercase anchor
        anchor = anchor.lower()
        # add anchor
        if anchor in self.anchors:
            self.add_pageproblem(
              'anchor/id "%(anchor)s" defined multiple times'
              % { 'anchor':   anchor })
        else:
            self.anchors.append(anchor)
            self._ischanged = True

    def add_reqanchor(self, parent, anchor):


Generated by  Doxygen 1.6.0   Back to index