/[marcuscom]/meraki/setup_meraki_nets.py
ViewVC logotype

Diff of /meraki/setup_meraki_nets.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 20552 by jclarke, Tue May 8 03:22:24 2018 UTC revision 20553 by jclarke, Tue May 8 03:22:40 2018 UTC
# Line 114  def main(): Line 114  def main():
114                      nerrors += 1                      nerrors += 1
115                      continue                      continue
116    
117                  inv_dev = filter(lambda device: device['serial'] == serial, inv)                  inv_dev = filter(
118                        lambda device: device['serial'] == serial, inv)
119                  if len(inv_dev) == 1:                  if len(inv_dev) == 1:
120                      dev_obj = None                      dev_obj = None
121                      if inv_dev[0]['networkId'] is not None and inv_dev[0]['networkId'] != net_obj.get('id'):                      if inv_dev[0]['networkId'] is not None and inv_dev[0]['networkId'] != net_obj.get('id'):

Legend:
Removed from v.20552  
changed lines
  Added in v.20553

  ViewVC Help
Powered by ViewVC 1.1.27