def patch_bug4881(): # this patch doesn't apply (or even import!) on Windows import sys if sys.platform == 'win32': return # this bug was only present in Twisted-10.2.0 if twisted.version == versions.Version('twisted', 10, 2, 0): from buildslave.monkeypatches import bug4881 bug4881.patch()
def patch_bug4881(): # this bug was only present in Twisted-10.2.0 if twisted.version == versions.Version('twisted', 10, 2, 0): from buildslave.monkeypatches import bug4881 bug4881.patch()