Working testctx, still need to redirect logging in testsample.py

This commit is contained in:
Stuart D. Gathman
2018-08-18 17:49:37 -04:00
parent 55eb05e526
commit d521665f75
4 changed files with 325 additions and 3 deletions
+3 -3
View File
@@ -9,7 +9,7 @@
# This code is under the GNU General Public License. See COPYING for details.
from __future__ import print_function
__version__ = '1.0.2'
__version__ = '1.0.3'
import os
import re
@@ -419,12 +419,12 @@ class Base(object):
func = getattr(self,func)
syms = getattr(func,'_symlist',None)
if syms is not None:
self.setsymlist(stage,syms)
self.setsymlist(stage,*syms)
opts[1] = self._protocol = p & ~self.protocol_mask()
opts[2] = 0
opts[3] = 0
#self.log("Negotiated:",opts)
except:
except Exception as x:
# don't change anything if something went wrong
return ALL_OPTS
return CONTINUE