From:
[email protected]
Hi There,
Hope all is going well.
I did a little bit of investigation and found that the problem is in the following method, in lib/vclib/bincvs/__init__.py source file:
def _tag_tuple(revision_string):
"""convert a revision number or branch number into a tuple of
integers"""
if revision_string:
t = map(int, string.split(revision_string, '.'))
l = len(t)
if l == 1:
* raise ValueError
if l > 2 and t[-2] == 0 and l % 2 == 0:
del t[-2]
return tuple(t)
return ()
I don't know anything about Python, but I changed the * line to whats in
the method below and it (obviously) doesn't throw the error anymore.
def _tag_tuple(revision_string):
"""convert a revision number or branch number into a tuple of
integers"""
if revision_string:
t = map(int, string.split(revision_string, '.'))
l = len(t)
if l == 1:
return ()
if l > 2 and t[-2] == 0 and l % 2 == 0:
del t[-2]
return tuple(t)
return ()
I can't see any difference with the empty return in place, so I'm not
sure what the consequences are. Just thought I'd let you know in case
you might have seen something.
Cheers,
Marcus
--
.....
,,$$$$$$$$$, Marcus Crafter
;$' '$$$$: Computer Systems Engineer
$: $$$$: ManageSoft Corporation
$ o_)$$$: Frankfurt am Main, Germany
;$, _/\ &&:'
' /( &&&
\_&&&&'
&&&&.
&&&&&&&:
--
To UNSUBSCRIBE, email to
[email protected]
with a subject of "unsubscribe". Trouble? Contact
[email protected]
--- SoupGate-Win32 v1.05
* Origin: you cannot sedate... all the things you hate (1:229/2)