Merge pull request #191 from kived/fix-archive_root
fix archive_root property to not return None
This commit is contained in:
commit
e4e4c1cd89
1 changed files with 1 additions and 1 deletions
|
@ -573,7 +573,7 @@ class Recipe(object):
|
|||
def archive_root(self):
|
||||
key = "{}.archive_root".format(self.name)
|
||||
value = self.ctx.state.get(key)
|
||||
if not key:
|
||||
if not value:
|
||||
value = self.get_archive_rootdir(self.archive_fn)
|
||||
self.ctx.state[key] = value
|
||||
return value
|
||||
|
|
Loading…
Reference in a new issue