Permalink
Browse files

lilac2.nvchecker: pkg may be None

  • Loading branch information...
lilydjwg committed Sep 21, 2018
1 parent e3a3162 commit 6b8ceefec991171def3fcaf389d86be1d1f62d99
Showing with 1 addition and 1 deletion.
  1. +1 −1 lilac2/nvchecker.py
View
@@ -96,7 +96,7 @@ def packages_need_update(repo, mods):
for l in output:
j = json.loads(l)
pkg = j.get('name')
if ':' in pkg:
if pkg and ':' in pkg:
pkg, i = pkg.split(':', 1)
i = int(i)
else:

0 comments on commit 6b8ceef

Please sign in to comment.