Mercurial > gub
changeset 3476:d569cc1cea11
Do not use build of version split.
author | Jan Nieuwenhuizen <janneke@gnu.org> |
---|---|
date | Fri, 11 May 2007 21:40:42 +0200 |
parents | 4daaa9c73991 |
children | 3b9486c7e7a1 |
files | gub/repository.py |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/gub/repository.py Fri May 11 21:40:29 2007 +0200 +++ b/gub/repository.py Fri May 11 21:40:42 2007 +0200 @@ -198,8 +198,9 @@ self._version = version if not version: - x, v = misc.split_ball (url) - self._version = '.'.join (v) + print misc.split_ball (url) + x, v, f = misc.split_ball (url) + self._version = '.'.join (map (str, v[:-1])) self.branch = None self.strip_components = strip_components