pvl.dhcp.config: explicitly require str's to be passed in as fields
authorTero Marttila <tero.marttila@aalto.fi>
Thu, 26 Feb 2015 14:40:14 +0200
changeset 478 517c359a683b
parent 477 6ad810c8039c
child 479 1e68e3a30b51
pvl.dhcp.config: explicitly require str's to be passed in as fields
pvl/dhcp/config.py
--- a/pvl/dhcp/config.py	Thu Feb 26 14:39:42 2015 +0200
+++ b/pvl/dhcp/config.py	Thu Feb 26 14:40:14 2015 +0200
@@ -230,8 +230,6 @@
         "foo bar"
     """
 
-    value = str(value)
-
     if any(c.isspace() for c in value):
         # quoted
         return '"{value}"'.format(value=value)