Skip to content

Commit

Permalink
Merge branch 'pre-master' of github.com:mraspaud/mpop into pre-master
Browse files Browse the repository at this point in the history
  • Loading branch information
mraspaud committed May 13, 2015
2 parents 81e6c6e + f728eba commit 9271a03
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions mpop/satellites/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,7 @@ def get_sat_instr_compositer((satellite, number, variant), instrument):
try:
module = __import__(module_name, globals(), locals(), [class_name])
klass = getattr(module, class_name)
for k in get_custom_composites(variant + satellite +
number + instrument):
for k in get_custom_composites(instrument):
klass.add_method(k)
return klass
except (ImportError, AttributeError):
Expand Down Expand Up @@ -143,8 +142,7 @@ def build_sat_instr_compositer((satellite, number, variant), instrument):
(instrument_class,),
{})

for i in get_custom_composites(variant + satellite +
number + instrument):
for i in get_custom_composites(instrument):
sat_class.add_method(i)

return sat_class
Expand Down

0 comments on commit 9271a03

Please sign in to comment.