[PATCH] Fix pylint issues on rhel7-branch of blivet.

Chris Lumens clumens at redhat.com
Mon Jun 1 17:27:33 UTC 2015


After running this on a RHEL7 system, it looks like pylint there might
not be smart enough to figure something out with python-six, so I've got
to add this as well:

--- a/scripts/merge-pr
+++ b/scripts/merge-pr
@@ -103,7 +103,7 @@ def main():
 
     # Parse the web URL into something that can be used for an API call, make
     # sure all the pieces are there.
-    pr_url = six.moves.urllib.parse.urlparse(args.pr_url)
+    pr_url = six.moves.urllib.parse.urlparse(args.pr_url)    # pylint: disable=no-member
     # The path should be /:owner/:repo/pull/:numbero
     # The first part of the split will be empty since path starts with /
     pr_path = pr_url[2].split('/')

- Chris


More information about the anaconda-patches mailing list