Skip to content

Commit

Permalink
rules: make class extend object
Browse files Browse the repository at this point in the history
  • Loading branch information
Exirel committed May 26, 2020
1 parent 87e6e8d commit c6af90f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sopel/plugins/rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def _has_named_rule(registry, name, follow_alias=False, plugin=None):
return has_name or (follow_alias and any(aliases))


class Manager:
class Manager(object):
"""Manager of plugin rules.
This manager stores plugin rules and can then provide the matching rules
Expand Down Expand Up @@ -637,7 +637,7 @@ def execute(self, bot, trigger):
return exit_code


class NamedRuleMixin:
class NamedRuleMixin(object):
@property
def name(self):
return self._name
Expand Down

0 comments on commit c6af90f

Please sign in to comment.