Commit 900a6370 authored by Cédric Bonhomme's avatar Cédric Bonhomme

_ACTION_MAIN is not actually an attribute of IntenrFilter

parent fde98eb9
...@@ -170,8 +170,7 @@ cdef class IntentFilter(object): ...@@ -170,8 +170,7 @@ cdef class IntentFilter(object):
""" """
return (self.actions and len(self.actions) >= 1 return (self.actions and len(self.actions) >= 1
and hasattr(IntentFilter, '_ACTION_MAIN') _ACTION_MAIN in self.actions)
and IntentFilter._ACTION_MAIN in self.actions)
def print_end_point(self): def print_end_point(self):
print "package",self.component.application_id print "package",self.component.application_id
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment