diff --git a/.gitignore b/.hgignore similarity index 87% rename from .gitignore rename to .hgignore index 1126263..fe73df3 100644 --- a/.gitignore +++ b/.hgignore @@ -1,4 +1,4 @@ -*.pyc +syntax: glob .env build/* dist/* diff --git a/ir.py b/ir.py index 018dd8e..d3ec250 100644 --- a/ir.py +++ b/ir.py @@ -14,9 +14,9 @@ class Rule(metaclass=PoolMeta): """ list of models to add 'user_id' to context """ result = super(Rule, cls)._context_modelnames() - return result | { + result.extend([ 'cashbook.planner', - 'cashbook.planner.nextrun', - } + 'cashbook.planner.nextrun']) + return result # end Rule