archpkg: don't take testing repo into account

This commit is contained in:
lilydjwg 2014-10-15 11:46:56 +08:00
parent 2c3ba193e3
commit 5cb229a26f

View File

@ -21,5 +21,5 @@ def _pkg_done(name, callback, res):
callback(name, None)
return
version = data['results'][0]['pkgver']
version = [r['pkgver'] for r in info['results'] if r['repo'] != 'testing'][0]
callback(name, version)