1. TortoiseLabs LLC
  2. Untitled project
  3. appliancekit-ng

Commits

William Pitcock  committed 11787cc

debian specfiles: use isinstance().

  • Participants
  • Parent commits 342b4f6
  • Branches master

Comments (0)

Files changed (1)

File appliancekit/specs/debian/interfaces.tmpl

View file
 {% 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'] }}