def _listDisplayItems(self):
        displayedItem = False
        for num in sorted(self._displayList.iterkeys()):
            if not displayedItem:
                displayedItem = True
                print
                print "Cmds to display:"
            enabled, item = self._displayList[num]
            if not enabled:
                print "%d: %s (disabled)" % (num, item)
            else:
                print "%d: %s" % (num, item)
        if displayedItem:
            print
        else:
            print "*** No items set to display at each cmd"
dataset/ETHPy150Open sassoftware/conary/conary/lib/epdb_embedded/__init__.py/Epdb._listDisplayItems/original