def do(self, args): from yq import stack transaction_name = stack.next() if not transaction_name: self.stdout.write("no unapplied transactions\n") else: self.stdout.write(transaction_name + '\n')
def do(self, args): from yq import stack transaction_name = stack.next() if not transaction_name: self.stdout.write("no unapplied transactions\n") else: self.stdout.write(transaction_name + '\n')