mavenversiondb.py
def register (self, coord):
    """ Register given coord in the database
    """
    if isinstance (coord, list):
      for m in coord:
        self.register (m)
      return

    m = MavenCoord (coord)

    myId = m.group + ':' + m.artifact
    if (myId in self._db) and (self._db[myId] != m.version):
      self.dependencyWarningOnce (m.id, self._db[myId])
      m.version = self._db[myId]
      return m

    self._db[myId] = m.version
    return m
 Register given coord in the database
    
Register given coord in the database
Register given coord in the database
def register (self, coord):
    if isinstance (coord, list):
      for m in coord:
        self.register (m)
      return
    m = MavenCoord (coord)
    myId = m.group + ':' + m.artifact
    if (myId in self._db) and (self._db[myId] != m.version):
      self.dependencyWarningOnce (m.id, self._db[myId])
      m.version = self._db[myId]
      return m
    self._db[myId] = m.version
    return m
def register ( self , coord ) : if isinstance ( coord , list ) : for m in coord : self . register ( m ) return m = MavenCoord ( coord ) myId = m . group + ':' + m . artifact if ( myId in self . _db ) and ( self . _db [ myId ] != m . version ) : self . dependencyWarningOnce ( m . id , self . _db [ myId ] ) m . version = self . _db [ myId ] return m self . _db [ myId ] = m . version return m
Register given coord in the database
Register given coord in the database
""" Register given coord in the database
    """
self
coord