document: richer eval() context for res_dirs.
We need to provide 'ctx' to the eval(), so that "uid" is defined in the expression. Covers the case of user directories. bzr revid: p_christ@hol.gr-20101027102324-ujy2293kpdzouna2
This commit is contained in:
@@ -791,7 +791,7 @@ class node_res_dir(node_class):
|
||||
ctx.update(self.dctx)
|
||||
where = []
|
||||
if self.domain:
|
||||
app = safe_eval(self.domain, self.dctx)
|
||||
app = safe_eval(self.domain, ctx)
|
||||
if not app:
|
||||
pass
|
||||
elif isinstance(app, list):
|
||||
|
||||
Reference in New Issue
Block a user