All of lore.kernel.org
 help / color / mirror / Atom feed
From: Steve Dickson <SteveD@redhat.com>
To: Weston Andros Adamson <dros@netapp.com>
Cc: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>,
	"<linux-nfs@vger.kernel.org>" <linux-nfs@vger.kernel.org>
Subject: Re: [PATCH] mountstats: enforce new python syntax
Date: Mon, 21 Oct 2013 10:19:31 -0400	[thread overview]
Message-ID: <526537F3.2000303@RedHat.com> (raw)
In-Reply-To: <D009ABC0-C071-4597-8B67-11C7A0486383@netapp.com>



On 21/10/13 10:04, Weston Andros Adamson wrote:
> I posted a similar patch last week.
Which has been committed!

steved.
> 
> -dros
> 
> On Oct 21, 2013, at 5:04 AM, Tigran Mkrtchyan <tigran.mkrtchyan@desy.de> wrote:
> 
>> $ mountstats
>>  File "/usr/sbin/mountstats", line 272
>>    (count, ((count * 100) / sends)), end=' ')
>>                                         ^
>> SyntaxError: invalid syntax
>>
>> Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
>> ---
>> tools/mountstats/mountstats.py | 1 +
>> 1 file changed, 1 insertion(+)
>>
>> diff --git a/tools/mountstats/mountstats.py b/tools/mountstats/mountstats.py
>> index 3f5fea5..351145e 100644
>> --- a/tools/mountstats/mountstats.py
>> +++ b/tools/mountstats/mountstats.py
>> @@ -1,5 +1,6 @@
>> #!/usr/bin/env python
>> # -*- python-mode -*-
>> +from __future__ import print_function
>> """Parse /proc/self/mountstats and display it in human readable form
>> """
>>
>> -- 
>> 1.8.3.1
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

  reply	other threads:[~2013-10-21 14:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-21  9:04 [PATCH] mountstats: enforce new python syntax Tigran Mkrtchyan
2013-10-21 14:04 ` Weston Andros Adamson
2013-10-21 14:19   ` Steve Dickson [this message]
2013-10-21 14:25     ` Mkrtchyan, Tigran

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=526537F3.2000303@RedHat.com \
    --to=steved@redhat.com \
    --cc=dros@netapp.com \
    --cc=linux-nfs@vger.kernel.org \
    --cc=tigran.mkrtchyan@desy.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.