debian/lib/python/debian_linux/debian.py: Fix versions without debian revision.

svn path=/dists/sid/linux-2.6/; revision=7201
This commit is contained in:
Bastian Blank 2006-08-20 11:34:13 +00:00
parent 92f6fe3959
commit e53dc86f50
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ def parse_version(version):
try:
i = len(version) - version[::-1].index('-')
except ValueError:
return
return ret
ret['upstream'] = version[:i-1]
ret['debian'] = version[i:]
try: