[svn r38051] Fix an option -s contradics -d

--HG--
branch : trunk
This commit is contained in:
fijal 2007-02-07 12:34:08 +01:00
parent 318a1c2333
commit 4fae2f581d
1 changed files with 3 additions and 0 deletions

View File

@ -29,6 +29,9 @@ class AbstractSession(Session):
if option.runbrowser and not option.startserver:
#print "--runbrowser implies --startserver"
option.startserver = True
if option.nocapture:
print "Cannot use nocapture with distributed testing"
sys.exit(1)
super(AbstractSession, self).fixoptions()
def init_reporter(self, reporter, hosts, reporter_class, arg=""):