提交 6e441bfe authored 作者: nouiz's avatar nouiz

Merge pull request #2 from delallea/list_cache

Minor fixes
...@@ -32,6 +32,6 @@ else: ...@@ -32,6 +32,6 @@ else:
print 'command "%s" not recognized' % sys.argv[1] print 'command "%s" not recognized' % sys.argv[1]
print 'Type "theano-cache" to print the cache location' print 'Type "theano-cache" to print the cache location'
print 'Type "theano-cache clear" to erase the cache' print 'Type "theano-cache clear" to erase the cache'
print 'Type "theano-cache list" to print the cache containt' print 'Type "theano-cache list" to print the cache content'
sys.exit(1) sys.exit(1)
...@@ -72,7 +72,6 @@ def print_compiledir_content(): ...@@ -72,7 +72,6 @@ def print_compiledir_content():
for item in a: for item in a:
l.extend(flatten(item)) l.extend(flatten(item))
return l return l
return [flatten(item) for item in a]
else: else:
return [a] return [a]
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论