Skip to content

Commit

Permalink
Remove fossil, a line that isn't needed.
Browse files Browse the repository at this point in the history
  • Loading branch information
pauleveritt committed Nov 29, 2020
1 parent fe7b3f5 commit 87c34fb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/wired/decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,8 @@ def callback(scanner: venusian.Scanner, name: str, cls):
# class as the instance
for_ = self.for_ if self.for_ else cls

_factory = getattr(cls, '__wired_factory__', cls)
registry.register_factory(
_factory, for_, context=self.context, name=self.name
cls, for_, context=self.context, name=self.name
)

venusian.attach(wrapped, callback, category='wired')
Expand Down

0 comments on commit 87c34fb

Please sign in to comment.