def getServiceType(self):
        if self.service_type is None:
            raise ValueError(self.identity % 'NSA with identity %s is not constructed with a type')
        return self.service_type
dataset/ETHPy150Open NORDUnet/opennsa/opennsa/nsa.py/NetworkServiceAgent.getServiceType/swapped operands of `%`