All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mountstats: enforce new python syntax
@ 2013-10-21  9:04 Tigran Mkrtchyan
  2013-10-21 14:04 ` Weston Andros Adamson
  0 siblings, 1 reply; 4+ messages in thread
From: Tigran Mkrtchyan @ 2013-10-21  9:04 UTC (permalink / raw)
  To: linux-nfs; +Cc: Tigran Mkrtchyan

$ 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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] mountstats: enforce new python syntax
  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
  0 siblings, 1 reply; 4+ messages in thread
From: Weston Andros Adamson @ 2013-10-21 14:04 UTC (permalink / raw)
  To: Tigran Mkrtchyan; +Cc: <linux-nfs@vger.kernel.org>

I posted a similar patch last week.

-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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] mountstats: enforce new python syntax
  2013-10-21 14:04 ` Weston Andros Adamson
@ 2013-10-21 14:19   ` Steve Dickson
  2013-10-21 14:25     ` Mkrtchyan, Tigran
  0 siblings, 1 reply; 4+ messages in thread
From: Steve Dickson @ 2013-10-21 14:19 UTC (permalink / raw)
  To: Weston Andros Adamson; +Cc: Tigran Mkrtchyan, <linux-nfs@vger.kernel.org>



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
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] mountstats: enforce new python syntax
  2013-10-21 14:19   ` Steve Dickson
@ 2013-10-21 14:25     ` Mkrtchyan, Tigran
  0 siblings, 0 replies; 4+ messages in thread
From: Mkrtchyan, Tigran @ 2013-10-21 14:25 UTC (permalink / raw)
  To: Steve Dickson; +Cc: Weston Andros Adamson, linux-nfs



----- Original Message -----
> 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>
> Sent: Monday, October 21, 2013 4:19:31 PM
> Subject: Re: [PATCH] mountstats: enforce new python syntax
> 
> 
> 
> On 21/10/13 10:04, Weston Andros Adamson wrote:
> > I posted a similar patch last week.
> Which has been committed!

Ah, then sorry for the noise!

Tigran.
> 
> 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
> > 
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-10-21 14:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2013-10-21 14:25     ` Mkrtchyan, Tigran

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.