Skip to content

Commit

Permalink
don't try to patch twisted.internet.process on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
djmitche committed May 11, 2011
1 parent 900c3a0 commit de168ab
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions master/buildbot/monkeypatches/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@
# Copyright Buildbot Team Members

def patch_bug4881():
# this patch doesn't apply (or even import!) on Windows
import sys
if sys.platform == 'win32':
return

try:
import twisted
from twisted.python import versions
Expand Down
5 changes: 5 additions & 0 deletions slave/buildslave/monkeypatches/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@


def patch_bug4881():
# this patch doesn't apply (or even import!) on Windows
import sys
if sys.platform == 'win32':
return

try:
import twisted
from twisted.python import versions
Expand Down

0 comments on commit de168ab

Please sign in to comment.