fix archive_root property to not return None
This commit is contained in:
parent
34a4b85b47
commit
5d91cb7a57
1 changed files with 1 additions and 1 deletions
|
@ -546,7 +546,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…
Add table
Reference in a new issue