pvl.hosts.dhcp: drop unused options
authorTero Marttila <tero.marttila@aalto.fi>
Thu, 26 Feb 2015 15:26:26 +0200
changeset 488 502ee5fcf91c
parent 487 920394061b6f
child 489 7f1bd12e0d54
pvl.hosts.dhcp: drop unused options
bin/pvl.hosts-dhcp
pvl/hosts/dhcp.py
--- a/bin/pvl.hosts-dhcp	Thu Feb 26 15:25:09 2015 +0200
+++ b/bin/pvl.hosts-dhcp	Thu Feb 26 15:26:26 2015 +0200
@@ -22,7 +22,7 @@
 
     # process
     try:
-        for line in pvl.hosts.dhcp.apply_hosts_dhcp(options, hosts):
+        for line in pvl.hosts.dhcp.apply_hosts_dhcp(hosts):
             print line
     except pvl.hosts.HostError as error:
         log.error("%s", error)
--- a/pvl/hosts/dhcp.py	Thu Feb 26 15:25:09 2015 +0200
+++ b/pvl/hosts/dhcp.py	Thu Feb 26 15:26:26 2015 +0200
@@ -74,7 +74,7 @@
 
             yield block, items, opts
 
-def apply_hosts_dhcp (options, hosts):
+def apply_hosts_dhcp (hosts):
     """
         Generate dhcp.conf output lines for the set of hosts.
     """