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

def dbtexmf::dblatex::grubber::msg::Message::simplify (   self,
  name 
)

Simplify an path name by removing the current directory if the
specified path is in a subdirectory.

Definition at line 117 of file msg.py.

00117                              :
        """
        Simplify an path name by removing the current directory if the
        specified path is in a subdirectory.
        """
        path = os.path.normpath(os.path.join(self.path, name))
        if path[:len(self.cwd)] == self.cwd:
            return path[len(self.cwd):]
        return path

    def display_all (self, generator, writer=None):


Generated by  Doxygen 1.6.0   Back to index