Ubuntu Pastebin

Paste from aim at Fri, 8 Jan 2016 11:17:35 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
$ git diff
diff --git a/provider/maas/add-juju-bridge.py b/provider/maas/add-juju-bridge.py
index 9174a3d..35201d8 100755
--- a/provider/maas/add-juju-bridge.py
+++ b/provider/maas/add-juju-bridge.py
@@ -173,7 +173,7 @@ class NetworkInterfaceParser(object):
 
     @classmethod
     def is_stanza(cls, s):
-        return re.match(r'^(iface|mapping|auto|allow-|source|dns-)', s)
+        return re.match(r'^(iface|mapping|auto|allow-|source)', s)
 
     def __init__(self, filename):
         self._stanzas = []
Download as text