~seyeongkim/charms/trusty/nova-compute/lp1417891

« back to all changes in this revision

Viewing changes to hooks/charmhelpers/contrib/network/ip.py

  • Committer: james.page at ubuntu
  • Date: 2014-10-06 21:57:43 UTC
  • mfrom: (80.1.3 nova-compute)
  • Revision ID: james.page@ubuntu.com-20141006215743-auucleyomgjcjche
[coreycb,r=james-page] Fixup amulet tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
        else:
58
58
            if fatal:
59
59
                not_found_error_out()
 
60
            else:
 
61
                return None
60
62
 
61
63
    _validate_cidr(network)
62
64
    network = netaddr.IPNetwork(network)