def take_action(self, parsed_args):
        self.log.debug(parsed_args % 'take_action(%s)')

        url = ("https://bitbucket.org/api/1.0/"
               "repositories/{a.account}/{a.reponame}/"
               "issues/{a.id}/"
               "comments/").format(a=parsed_args)
        r = requests.post(url, data=parsed_args.content, auth=(user, passwd))
        if r.status_code == 200:
            data = json.loads(r.text)
            newdata = prettytable.PrettyTable(["Fields", "Values"])
            newdata.padding_width = 1
            newdata.add_row(
                ["Comment Author", data['author_info']['display_name']])
            newdata.add_row(["Comment ID", data['comment_id']])
            newdata.add_row(["UTC Updated on", data['utc_updated_on']])
            newdata.add_row(["UTC Created on", data['utc_created_on']])
            msg = """
Comment: d[content]s" % (data['content'])
{newdata}
---------------------------------------------------------------"""
            print msg.format(d=data, newdata=newdata)
            sys.exit(0)
        else:
            self.app.stdout.write(
                "\nInvalid Request. Invalid argument supplied.\n")
            sys.exit(1)
dataset/ETHPy150Open yspanchal/bitbucketcli/bitbucket/issues.py/Postcomment.take_action/swapped operands of `%`