@defer.inlineCallbacks
    def run(self):
        try:
            #Bind
            smpp = yield SMPPClientTransceiver(self.config, self.handleMsg).connectAndBind()
            #Wait for disconnect
            yield smpp.getDisconnectedDeferred()
        except Exception, e:
            print str(e) % "ERROR: %s"
        finally:
            reactor.stop()
dataset/ETHPy150Open mozes/smpp.twisted/smpp/twisted/examples/transceiver.py/SMPP.run/swapped operands of `%`