equal
deleted
inserted
replaced
1614 self.url = u |
1614 self.url = u |
1615 self.branch = branch |
1615 self.branch = branch |
1616 |
1616 |
1617 self.name = name |
1617 self.name = name |
1618 self.rawloc = rawloc |
1618 self.rawloc = rawloc |
1619 self.loc = str(u) |
1619 self.loc = '%s' % u |
1620 |
1620 |
1621 # When given a raw location but not a symbolic name, validate the |
1621 # When given a raw location but not a symbolic name, validate the |
1622 # location is valid. |
1622 # location is valid. |
1623 if not name and not u.scheme and not self._isvalidlocalpath(self.loc): |
1623 if not name and not u.scheme and not self._isvalidlocalpath(self.loc): |
1624 raise ValueError('location is not a URL or path to a local ' |
1624 raise ValueError('location is not a URL or path to a local ' |