mavenversiondb.py
def parseFile (self, depsfile):
    """ _depsfile_ is the path to a filename that will be read and processed
    in order to inject all dependencies.

    The format of the file is similar to the one produced by the following
    maven command:

      $  mvn dependency:tree -DoutputType=text -Doutput=deps.txt

      The only difference is that the very first line, which references the
    coord we are in, should be commented out with '#' character.
    """
    with open (depsfile, 'rt') as f:
      for line in f:
        line = line.strip()
        if line.startswith ('#') or (len(line) == 0):
          continue

        self.register (line.lstrip ('=|+- \\'))
        
    return True
 _depsfile_ is the path to a filename that will be read and processed
    in order to inject all dependencies.

    The format of the file is similar to the one produced by the following
    maven command:

      $  mvn dependency:tree -DoutputType=text -Doutput=deps.txt

      The only difference is that the very first line, which references the
    coord we are in, should be commented out with '#' character.
    
_depsfile_ is the path to a filename that will be read and processed
in order to inject all dependencies.

The format of the file is similar to the one produced by the following
maven command.

$  mvn dependency:tree -DoutputType=text -Doutput=deps.txt

The only difference is that the very first line, which references the
coord we are in, should be commented out with '#' character.
_depsfile_ is the path to a filename that will be read and processed in order to inject all dependencies . The format of the file is similar to the one produced by the following maven command . $ mvn dependency : tree - DoutputType = text - Doutput = deps . txt The only difference is that the very first line which references the coord we are in should be commented out with ' # ' character .
def parseFile (self, depsfile):
    with open (depsfile, 'rt') as f:
      for line in f:
        line = line.strip()
        if line.startswith ('#') or (len(line) == 0):
          continue
        self.register (line.lstrip ('=|+- \\'))
    return True
def parseFile ( self , depsfile ) : with open ( depsfile , 'rt' ) as f : for line in f : line = line . strip ( ) if line . startswith ( '#' ) or ( len ( line ) == 0 ) : continue self . register ( line . lstrip ( '=|+- \\' ) ) return True
_depsfile_ is the path to a filename that will be read and processed
in order to inject all dependencies.
_depsfile_ is the path to a filename that will be read and processed in order to inject all dependencies .
""" _depsfile_ is the path to a filename that will be read and processed
    in order to inject all dependencies.

    The format of the file is similar to the one produced by the following
    maven command:

      $  mvn dependency:tree -DoutputType=text -Doutput=deps.txt

      The only difference is that the very first line, which references the
    coord we are in, should be commented out with '#' character.
    """
self
depsfile