if q.has_key('popcon'):
db[p]['main']['debian_popcon'] = q['popcon']
# if we have debian, need to get ubuntu
- q = dde_get(query_url + "/packages/prio-ubuntu-natty/%s" % p)
+ q = dde_get(query_url + "/packages/prio-ubuntu-oneiric/%s" % p)
if q and q.has_key('popcon'):
db[p]['main']['ubuntu_popcon'] = q['popcon']
else:
if len(blocks) == 1:
return blocks[0]
else:
- return [block_lines(b, level+1) for b in blocks]
+ return [block_lines(b, level+1) for b in blocks if len(b)]
def blocks_to_rst(bls, level=0):
# check if this block is an itemized beast