Skip to content

Commit

Permalink
Fix get_axipkgs on initialize.py
Browse files Browse the repository at this point in the history
  • Loading branch information
LucianoPC committed Jun 7, 2016
1 parent 2a67a51 commit 3fa9cb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apprecommender/initialize.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def get_axipkgs(self, axi_tag='XP', axi_path=DEFAULT_AXI_PATH):

pkg = self.cache[pkg_name].candidate

if not self.is_section_valid(pkg.section):
if not pkg or not self.is_section_valid(pkg.section):
continue

pkg_dependencies = self.get_package_dependencies(pkg)
Expand Down

0 comments on commit 3fa9cb8

Please sign in to comment.