SEBA-497 delayering, Makefile, and tox for onos-synchronizer
Change-Id: I849b307330a6fd5a5de5489d8f2db804a02acead
diff --git a/xos/synchronizer/models/models.py b/xos/synchronizer/models/models.py
index e4e1948..2e962bb 100644
--- a/xos/synchronizer/models/models.py
+++ b/xos/synchronizer/models/models.py
@@ -17,6 +17,7 @@
from models_decl import ONOSApp_decl
from models_decl import ONOSService_decl
+
class ONOSApp(ONOSApp_decl):
class Meta:
proxy = True
@@ -24,12 +25,13 @@
def save(self, *args, **kwargs):
if self.url and not self.version:
- raise XOSValidationError("If you specify a url, you also need to specify a version. ONOSApp: %s" % self.name)
+ raise XOSValidationError(
+ "If you specify a url, you also need to specify a version. ONOSApp: %s" %
+ self.name)
super(ONOSApp, self).save(*args, **kwargs)
class ONOSService(ONOSService_decl):
- class Meta:
- proxy = True
-
+ class Meta:
+ proxy = True