提交 1ada610b authored 作者: Frederic's avatar Frederic

pep8

上级 5c11aada
import os, sys import os
import sys
from compilelock import get_lock, release_lock from compilelock import get_lock, release_lock
from theano import config from theano import config
# TODO These two lines may be removed in the future, when we are 100% sure # TODO These two lines may be removed in the future, when we are 100% sure
# noone has an old cutils_ext.so lying around anymore. # noone has an old cutils_ext.so lying around anymore.
if os.path.exists(os.path.join(config.compiledir,'cutils_ext.so')): if os.path.exists(os.path.join(config.compiledir, 'cutils_ext.so')):
os.remove(os.path.join(config.compiledir,'cutils_ext.so')) os.remove(os.path.join(config.compiledir, 'cutils_ext.so'))
def compile_cutils(): def compile_cutils():
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论