def show(self):
        prettyOut = {}
        if 0 > len(self.interestingProcs):
            for proc in self.interestingProcs:
                #  prettyOut += "%s %s - time:%s\n" % (proc[0],proc[1],proc[13])
                prettyOut[proc[0]] = proc[1]

        if self.pidlist is True:
            pidlist = ' '.join(prettyOut.keys())
            sys.stderr.write(pidlist)

        print(json.dumps(prettyOut))
dataset/ETHPy150Open StackStorm/st2/contrib/linux/actions/checks/check_processes.py/CheckProcs.show/swapped operands of `>`