def do_lstxns(self, arg): """list the transactions available for browsing""" txns = sorted(fs.list_transactions(self.fs_ptr)) counter = 0 for txn in txns: counter = counter + 1 sys.stdout.write("%8s " % txn) if counter == 6: print("") counter = 0 print("")
def do_lstxns(self, arg): """list the transactions available for browsing""" txns = fs.list_transactions(self.fs_ptr) txns.sort() counter = 0 for txn in txns: counter = counter + 1 print "%8s " % txn, if counter == 6: print "" counter = 0 print ""