Skip to content

Commit

Permalink
fix for lookup_from_features
Browse files Browse the repository at this point in the history
  • Loading branch information
bryevdv committed Mar 4, 2013
1 parent 26aa891 commit a9491fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conda/package_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def lookup_from_feature(self, feature):
if feature in pkg.features:
if not result.has_key(pkg.name):
result[pkg.name] = set()
result[pkg.name].add(pkg)
result[pkg.name] = result.get(pkg.name, set())
return result

def find_matches(self, constraint, pkgs=None):
Expand Down

0 comments on commit a9491fa

Please sign in to comment.