[jhbuild] autotools: Fix XML attribute name for ‘ supports-static-analyzer’



commit f5ac58204d79ddbcabc2d5ef8bc405dfa6c3513d
Author: Philip Withnall <philip tecnocode co uk>
Date:   Thu Nov 21 01:46:44 2013 +0000

    autotools: Fix XML attribute name for ‘supports-static-analyzer’
    
    The rest of the code references ‘supports-static-analyzer’, but the code
    which actually reads the XML was using ‘static-analyzer’. Standardise on
    the former.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=648990

 jhbuild/modtypes/autotools.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/jhbuild/modtypes/autotools.py b/jhbuild/modtypes/autotools.py
index 58b21ca..dcb6f41 100644
--- a/jhbuild/modtypes/autotools.py
+++ b/jhbuild/modtypes/autotools.py
@@ -391,8 +391,8 @@ def parse_autotools(node, config, uri, repositories, default_repo):
 
     if node.hasAttribute('check-target'):
         instance.check_target = (node.getAttribute('check-target') == 'true')
-    if node.hasAttribute('static-analyzer'):
-        instance.supports_static_analyzer = (node.getAttribute('static-analyzer') == 'true')
+    if node.hasAttribute('supports-static-analyzer'):
+        instance.supports_static_analyzer = (node.getAttribute('supports-static-analyzer') == 'true')
 
     from jhbuild.versioncontrol.tarball import TarballBranch
     if node.hasAttribute('autogen-sh'):


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]