Commit 9c7b4062 by Oliver Pinter

silence

parent 50f6c42d
...@@ -36,7 +36,6 @@ def remove_interfaces_freebsd(devices): ...@@ -36,7 +36,6 @@ def remove_interfaces_freebsd(devices):
def change_ip_freebsd(interfaces, dns): def change_ip_freebsd(interfaces, dns):
data = list(get_interfaces_freebsd(interfaces)) data = list(get_interfaces_freebsd(interfaces))
print data
for ifname, conf in data: for ifname, conf in data:
subprocess.call(('/usr/sbin/service','netif', 'stop', ifname)) subprocess.call(('/usr/sbin/service','netif', 'stop', ifname))
remove_interfaces_freebsd(dict(data).keys()) remove_interfaces_freebsd(dict(data).keys())
......
...@@ -24,7 +24,8 @@ class SerialLineReceiverBase(LineReceiver, object): ...@@ -24,7 +24,8 @@ class SerialLineReceiverBase(LineReceiver, object):
raise NotImplementedError("Subclass must implement abstract method") raise NotImplementedError("Subclass must implement abstract method")
def dataReceivedd(self, data): def dataReceivedd(self, data):
print data #print data
pass
def lineReceived(self, data): def lineReceived(self, data):
try: try:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment