equal
deleted
inserted
replaced
17 else : |
17 else : |
18 raise ValueError("Unknown item: %r", item) |
18 raise ValueError("Unknown item: %r", item) |
19 yield "}" |
19 yield "}" |
20 |
20 |
21 def dhcp_quote (value) : |
21 def dhcp_quote (value) : |
22 return '"{value}"'.format(value=value) |
22 if value is None : |
|
23 return None |
|
24 else : |
|
25 return '"{value}"'.format(value=value) |
23 |
26 |
24 def process_host (options, host) : |
27 def process_host (options, host) : |
25 if host.owner : |
28 if host.owner : |
26 yield u"# {host.owner}".format(host=host) |
29 yield u"# {host.owner}".format(host=host) |
27 |
30 |