Skip to content

Commit

Permalink
simplify twisted version condition
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikhail Sobolev committed Feb 21, 2015
1 parent d606966 commit 5fa9b98
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions master/buildbot/monkeypatches/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,7 @@ def patch_bug4520():
def patch_bug5079():
# this bug is patched in Twisted-12.0.0; it was probably
# present in Twisted-8.x.0, but the patch doesn't work
if (twisted.version < versions.Version('twisted', 12, 0, 0) and
twisted.version >= versions.Version('twisted', 9, 0, 0)):
if twisted.version < versions.Version('twisted', 12, 0, 0):
from buildbot.monkeypatches import bug5079
bug5079.patch()

Expand Down

0 comments on commit 5fa9b98

Please sign in to comment.