Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/OL7_refactor_fix' into deploy_nov
Browse files Browse the repository at this point in the history
  • Loading branch information
pantuza committed Nov 13, 2018
2 parents bf17c71 + 3d01d18 commit f7c9a6a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion networkapi/ip/models.py
Expand Up @@ -64,6 +64,8 @@
from networkapi.util.geral import get_app


log = logging.getLogger(__name__)

class NetworkIPv4Error(Exception):

"""Generic exception for everything related to NetworkIPv4."""
Expand Down Expand Up @@ -745,7 +747,6 @@ def create_v3(self, networkv4, locks_used=[], force=False):
try:
if self.oct1 is None and self.oct2 is None and \
self.oct3 is None and self.oct4 is None:

# Allocate network for vlan with prefix(optional)
try:
self.allocate_network_v3(networkv4.get('vlan'),
Expand Down
1 change: 0 additions & 1 deletion networkapi/vlan/models.py
Expand Up @@ -1066,7 +1066,6 @@ def create_v3(self, vlan, user):

netv6_obj.create_v3(dict_net, locks_used=locks_name)
except Exception, e:

raise VlanErrorV3(e)
finally:
# Destroy locks
Expand Down

0 comments on commit f7c9a6a

Please sign in to comment.