diff options
author | Andrew Shadura <andrew@shadura.me> | 2015-08-20 15:58:30 +0200 |
---|---|---|
committer | Andrew Shadura <andrew@shadura.me> | 2015-08-20 15:58:30 +0200 |
commit | fec1da7e6ea8a3b3b03befa4ff8dd31d539f163d (patch) | |
tree | f349cf4e0bf6198660dfc1f0cfeec567b0bb84c5 /reconfigure/items/squid.py | |
parent | 25d6c405aff4167e801d0a4995083a56160b969e (diff) |
Imported Upstream version 0.1.50+git20140603
Diffstat (limited to 'reconfigure/items/squid.py')
-rw-r--r-- | reconfigure/items/squid.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/reconfigure/items/squid.py b/reconfigure/items/squid.py index 2504b55..92edbbf 100644 --- a/reconfigure/items/squid.py +++ b/reconfigure/items/squid.py @@ -7,7 +7,7 @@ class SquidData (BoundData): class ACLData (BoundData): - def template(self, name, *args): + def template(self, name=None, *args): children = [PropertyNode('1', name)] index = 2 for arg in args: @@ -54,8 +54,8 @@ class HTTPSPortData (BoundData): class ArgumentData (BoundData): - def template(self, *args): - return PropertyNode(*args) + def template(self): + return PropertyNode('value', 'none') def __bind_by_name(cls, prop, name, itemcls): |