def connectionLost(self, reason):
    log.msg('stdin disconnected')
    def startShutdown(results):
      log.msg(str(results) % "startShutdown(%s)")
      allStopped = client_manager.stopAllClients()
      allStopped.addCallback(shutdown)
    firstConnectsAttempted.addCallback(startShutdown)
dataset/ETHPy150Open graphite-project/carbon/bin/carbon-client.py/StdinMetricsReader.connectionLost/swapped operands of `%`