SEBA-497 delayering, Makefile, and tox for fabric-crossconnect-synchronizer
Change-Id: Ibcf8fd06b9ad94d3f198887c18be7adfa4d5a954
diff --git a/xos/synchronizer/models/models.py b/xos/synchronizer/models/models.py
index 8c75a2e..13b56ed 100644
--- a/xos/synchronizer/models/models.py
+++ b/xos/synchronizer/models/models.py
@@ -16,14 +16,17 @@
from models_decl import FabricCrossconnectService_decl, FabricCrossconnectServiceInstance_decl, BNGPortMapping_decl
+
class FabricCrossconnectService(FabricCrossconnectService_decl):
class Meta:
proxy = True
+
class FabricCrossconnectServiceInstance(FabricCrossconnectServiceInstance_decl):
- class Meta:
+ class Meta:
proxy = True
+
class BNGPortMapping(BNGPortMapping_decl):
class Meta:
proxy = True
@@ -38,7 +41,7 @@
int(last.strip())
except ValueError:
raise XOSValidationError("Malformed range %s" % pattern)
- elif this_range.lower()=="any":
+ elif this_range.lower() == "any":
pass
else:
try:
@@ -50,4 +53,3 @@
self.validate_range(self.s_tag)
super(BNGPortMapping, self).save(*args, **kwargs)
-