Commits

William Pitcock committed 11787cc

debian specfiles: use isinstance().

  • Participants
  • Parent commits 342b4f6

Comments (0)

Files changed (1)

File appliancekit/specs/debian/interfaces.tmpl

 {% if eth0 == 'dhcp' %}
 auto eth0
 iface eth0 inet dhcp
-{% elif type(eth0) is dict %}
+{% elif isinstance(eth0, dict) %}
 auto eth0
 iface eth0 inet static
 	address {{ eth0['address'] }}