Merge pull request #1196 from Gwill/dev

修改 Travis 在 py3.6 环境下无法通过的问题
This commit is contained in:
vn.py 2018-11-02 09:27:59 +08:00 committed by GitHub
commit 66d361b5e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

1
.gitignore vendored
View File

@ -58,6 +58,7 @@ build/Makefile
.python-version
.gitignore
temp/
.venv
# setup.py install 临时文件
dist

View File

@ -30,7 +30,7 @@ class Promise(object):
raise res[1]
else:
et, ev, tb = res[1]
raise et, ev, tb
raise et(ev).with_traceback(tb)
def set_exception(self, valueOrType, val=None, tb=None):
if val is None:

View File

@ -413,7 +413,7 @@ class DataEngine(object):
self.workingOrderDict = {} # 可撤销委托
self.tradeDict = {}
self.accountDict = {}
self.positionDict= {}
self.positionDict = {}
self.logList = []
self.errorList = []