コード例 #1
0
def patch_bug5079():
    # this bug will hopefully be 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)):
        from buildbot.monkeypatches import bug5079
        bug5079.patch()
コード例 #2
0
ファイル: __init__.py プロジェクト: Acidburn0zzz/buildbot
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)):
        from buildbot.monkeypatches import bug5079
        bug5079.patch()
コード例 #3
0
ファイル: __init__.py プロジェクト: trmiller/buildbot
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):
        from buildbot.monkeypatches import bug5079
        bug5079.patch()
コード例 #4
0
def patch_bug5079():
    # this bug will hopefully be patched in Twisted-12.0.0
    if twisted.version < versions.Version('twisted', 12, 0, 0):
        from buildbot.monkeypatches import bug5079
        bug5079.patch()