libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Denis Barmenkov (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (LIBCLOUD-268) Fixing PEP8 violations
Date Tue, 04 Feb 2014 10:48:10 GMT

    [ https://issues.apache.org/jira/browse/LIBCLOUD-268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13890553#comment-13890553
] 

Denis Barmenkov edited comment on LIBCLOUD-268 at 2/4/14 10:46 AM:
-------------------------------------------------------------------

Patch was erroneous, below is flake8 output: 
example_loadbalancer.py:45:1: E901 SyntaxError: non-keyword arg after keyword arg

Since I didn't find the way to attach patch, I leave it here:
{noformat}
diff -u example_loadbalancer.py example_loadbalancer.py
--- example_loadbalancer.py 2014-02-04 14:35:54.000000000 +0400
+++ example_loadbalancer.py 2014-02-04 14:36:03.000000000 +0400
@@ -42,7 +42,7 @@
                                           algorithm=Algorithm.ROUND_ROBIN,
                                           port=80,
                                           protocol='http',
-                                          members)
+                                          members=members)

     print(new_balancer)
{noformat}


was (Author: barmenkov):
Patch was erroneous, below is flake8 output: 
example_loadbalancer.py:45:1: E901 SyntaxError: non-keyword arg after keyword arg

> Fixing PEP8 violations
> ----------------------
>
>                 Key: LIBCLOUD-268
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-268
>             Project: Libcloud
>          Issue Type: Improvement
>            Reporter: DaeMyung Kang
>            Assignee: Tomaz Muraus
>            Priority: Trivial
>         Attachments: libcloud-268.patch
>
>
> Fixing PEP8 violations
> example_compute.py
> example_loadbalancer.py
> libcloud/__init__.py
> libcloud/httplib_ssl.py
> libcloud/security.py
> setup.py



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message