[SEBA-742] Minor fixes
Change-Id: Ia54016291349945a4f86d5beb20b4ca82edb6d49
diff --git a/xos/synchronizer/models/models.py b/xos/synchronizer/models/models.py
index 5114871..a71817e 100644
--- a/xos/synchronizer/models/models.py
+++ b/xos/synchronizer/models/models.py
@@ -14,7 +14,7 @@
import random
-from xos.exceptions import XOSValidationError
+from xos.exceptions import XOSValidationError, XOSNotFound
from models_decl import VOLTService_decl
from models_decl import VOLTServiceInstance_decl, VOLTServiceInstance
@@ -61,7 +61,7 @@
olt = onu.pon_port.olt_device
return olt.technology
except ObjectDoesNotExist:
- raise XOSNotFound("Can't find OLT for %s" % onu_sn, serial_number=onu_sn)
+ raise XOSNotFound("Can't find OLT for %s" % onu_sn)
def get_tech_profile(self, technology, profile_id):
"""