summaryrefslogtreecommitdiffstats
path: root/manifest_xml.py
diff options
context:
space:
mode:
authorDavid Pursehouse <david.pursehouse@sonymobile.com>2012-10-22 12:50:15 +0900
committerDavid Pursehouse <david.pursehouse@sonymobile.com>2012-10-24 10:18:13 +0900
commit4f7bdea9d24c4eb52f83ada2b67b88ad67cb57a7 (patch)
tree49c93020cd026d13f43325b43d13266542cdc5a1 /manifest_xml.py
parent69998b0c6ff724bf620480140ccce648fec7d6a9 (diff)
downloadgit-repo-4f7bdea9d24c4eb52f83ada2b67b88ad67cb57a7.tar.gz
Add pylint configuration and instructions
pylint configuration file (.pylintrc) is added, and submission instructions are updated to include pylint usage steps. Deprecated pylint suppression (`disable-msg`) is updated in a few modules to make it work properly with the latest version (0.26). Change-Id: I4ec2ef318e23557a374ecdbf40fe12645766830c
Diffstat (limited to 'manifest_xml.py')
-rw-r--r--manifest_xml.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifest_xml.py b/manifest_xml.py
index a2a56e92..71dbdc7d 100644
--- a/manifest_xml.py
+++ b/manifest_xml.py
@@ -336,7 +336,7 @@ class XmlManifest(object):
336 raise ManifestParseError("no <manifest> in %s" % (path,)) 336 raise ManifestParseError("no <manifest> in %s" % (path,))
337 337
338 nodes = [] 338 nodes = []
339 for node in manifest.childNodes: # pylint:disable-msg=W0631 339 for node in manifest.childNodes: # pylint:disable=W0631
340 # We only get here if manifest is initialised 340 # We only get here if manifest is initialised
341 if node.nodeName == 'include': 341 if node.nodeName == 'include':
342 name = self._reqatt(node, 'name') 342 name = self._reqatt(node, 'name')