write_touchstone: improve formating
@@ -1942,7 +1942,7 @@ class Network(object):
if self.comments:
for comment_line in self.comments.split('\n'):
commented_header += '!{}\n'.format(comment_line)
- except(AttributeError):
+ except AttributeError:
pass
if skrf_comment:
commented_header += '!Created with skrf (http://scikit-rf.org).\n'
@@ -1962,7 +1962,7 @@ class Network(object):
for port_idx, port_name in enumerate(self.port_names):
ports += '! Port[{}] = {}\n'.format(port_idx, port_name)
output.write(ports)
- except(AttributeError):
+ except AttributeError:
pass
scaled_freq = self.frequency.f_scaled
