'etch': 'Debian GNU/Linux 4.0 (etch)',
'lenny': 'Debian GNU/Linux 5.0 (lenny)',
'squeeze': 'Debian GNU/Linux 6.0 (squeeze)',
'etch': 'Debian GNU/Linux 4.0 (etch)',
'lenny': 'Debian GNU/Linux 5.0 (lenny)',
'squeeze': 'Debian GNU/Linux 6.0 (squeeze)',
- 'wheezy': 'Debian testing (wheezy)',
+ 'wheezy': 'Debian GNU/Linux 7.0 (wheezy)',
+ 'jessie': 'Debian testing (jessie)',
'sid': 'Debian unstable (sid)',
'hardy': 'Ubuntu 08.04 LTS "Hardy Heron" (hardy)',
'jaunty': 'Ubuntu 09.04 "Jaunty Jackalope" (jaunty)',
'sid': 'Debian unstable (sid)',
'hardy': 'Ubuntu 08.04 LTS "Hardy Heron" (hardy)',
'jaunty': 'Ubuntu 09.04 "Jaunty Jackalope" (jaunty)',
'quantal': 'Ubuntu 12.10 "Quantal Quetzal" (quantal)',
'raring': 'Ubuntu 13.04 "Raring Ringtail" (raring)',
'saucy': 'Ubuntu 13.10 "Saucy Salamander" (saucy)',
'quantal': 'Ubuntu 12.10 "Quantal Quetzal" (quantal)',
'raring': 'Ubuntu 13.04 "Raring Ringtail" (raring)',
'saucy': 'Ubuntu 13.10 "Saucy Salamander" (saucy)',
for line in fileinput.FileInput(filename, openhook=fileinput.hook_compressed):
key, values = [x.strip().lower() for x in line.split(':', 1)]
for line in fileinput.FileInput(filename, openhook=fileinput.hook_compressed):
key, values = [x.strip().lower() for x in line.split(':', 1)]
except ValueError:
raise ValueError("Failed to split %s" % values)
entry[key][pkg] = tuple(int(x) for x in (vote, old, recent, nofiles))
except ValueError:
raise ValueError("Failed to split %s" % values)
entry[key][pkg] = tuple(int(x) for x in (vote, old, recent, nofiles))
kvalue, value = values.split()
entry[key][kvalue] = int(value)
elif key == 'submissions':
entry[key] = int(values)
else:
kvalue, value = values.split()
entry[key][kvalue] = int(value)
elif key == 'submissions':
entry[key] = int(values)
else: