Skip to content

Commit

Permalink
http_inputs, not html_inputs. Good catch, Joe.
Browse files Browse the repository at this point in the history
Make it a property for good measure.
  • Loading branch information
Mike Blume committed Jun 24, 2011
1 parent 8f79cf4 commit 6c6c23b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hoover/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ def _inputs_init(self):
inputs = self._api_help('api/inputs')
self._inputs = [LogglyInput(i, self) for i in inputs]

def html_inputs(self):
@property
def http_inputs(self):
return [i for i in self.inputs if i.service['name'] == 'HTTP']

def get_input_by_name(self, name):
Expand Down

0 comments on commit 6c6c23b

Please sign in to comment.