Skip to content

Commit

Permalink
tiny code reflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jettify committed Dec 16, 2018
1 parent 21fcaca commit aaeb606
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions aiorwlock/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,5 +271,6 @@ def writer(self) -> _WriterLock:
writer_lock = writer

def __repr__(self) -> str:
return '<RWLock: {} {}>'.format(self.reader_lock.__repr__(),
self.writer_lock.__repr__())
rl = self.reader_lock.__repr__()
wl = self.writer_lock.__repr__()
return '<RWLock: {} {}>'.format(rl, wl)

0 comments on commit aaeb606

Please sign in to comment.