linux-trace-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Steven Rostedt <rostedt@goodmis.org>
To: John Kacur <jkacur@redhat.com>
Cc: linux-trace-devel@vger.kernel.org, Clark Williams <williams@redhat.com>
Subject: Re: [PATCH] trace-cmd: python: Apply 2to3 print transformation to python files
Date: Fri, 3 May 2019 12:25:14 -0400	[thread overview]
Message-ID: <20190503122514.0c36fdab@gandalf.local.home> (raw)
In-Reply-To: <20190503161541.15773-1-jkacur@redhat.com>

On Fri,  3 May 2019 18:15:41 +0200
John Kacur <jkacur@redhat.com> wrote:

> In preperation for the python plugin to work with python3,
> apply the 2to3 print transformation on the python files.
> 
> In python3 print is a function so needs to be bracketted.
> This is safe to do because the syntax is compatible with python2 as well
> 
> Signed-off-by: John Kacur <jkacur@redhat.com>
> ---
>  python/event-viewer.py | 14 +++++++-------
>  python/tracecmd.py     |  6 +++---
>  python/tracecmdgui.py  | 12 ++++++------
>  3 files changed, 16 insertions(+), 16 deletions(-)

Allied. Thanks John!

-- Steve

      reply	other threads:[~2019-05-03 16:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-03 16:15 [PATCH] trace-cmd: python: Apply 2to3 print transformation to python files John Kacur
2019-05-03 16:25 ` Steven Rostedt [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190503122514.0c36fdab@gandalf.local.home \
    --to=rostedt@goodmis.org \
    --cc=jkacur@redhat.com \
    --cc=linux-trace-devel@vger.kernel.org \
    --cc=williams@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).