At 12:52 AM 8/5/2007 -0700, Keith Dart wrote:
>I guess Phillip would be most interested in this:
>
> 51900 phillip.eby
> 51900 phillip.eby if data.startswith('8'):
> 51900 phillip.eby data =
> map(str.splitlines,data.split('\n\x0c\n'))
> 51900 phillip.eby del data[0][0] # get rid of the '8'
> 51900 phillip.eby dirurl = data[0][3]
> 56277 phillip.eby localrev = max([int(d[9]) for d
> in data if len(d)>9 and d[9]]+[0])
> 51900 phillip.eby elif data.startswith('<?xml'):
> 51900 phillip.eby dirurl =
> urlre.search(data).group(1) # get repository URL
> 56277 phillip.eby localrev = max([int(m.group(1))
> for m in revre.finditer(data)]+[0])
I don't see why; the fixes are already in setuptools SVN repository,
as you can see here in r56277. AFAIK, this code is in setuptools
0.6c6, i.e., the current release.
_______________________________________________
Distutils-SIG maillist - [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig