Commit 2ea8e093 authored by Daichi Tsuna's avatar Daichi Tsuna

power.py: give dummy url for path=none

for function make_cache_entry
Original: dae8d438d755ed76564e86893f03e8cb55626db1
parent 50aaa51c
...@@ -153,7 +153,12 @@ def make_cache_entry(input_cache, description, path): ...@@ -153,7 +153,12 @@ def make_cache_entry(input_cache, description, path):
if path: if path:
url = "file://localhost%s" % os.path.abspath(path) url = "file://localhost%s" % os.path.abspath(path)
else: else:
url = None # FIXME: old version of CacheEntry allowed None for URL,
# new version doesn't. correct fix is to modify calling
# code to not try to initialize the output cache until
# after the input is known, but for now we'll just do this
# stupid hack.
url = "file://localhost/dev/null"
# construct a cache entry from the instruments and # construct a cache entry from the instruments and
# segments that remain # segments that remain
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment