Edit

IABSD.fr/ports/sysutils/libvirt-python/patches

Branch :

  • Show log

    Commit

  • Author : jasper
    Date : 2015-09-02 06:35:26
    Hash : 86fcf578
    Message : Fix the generator issue with a patch proposed to upstream, instead of reverting the offending commit

  • patch-generator_py
  • $OpenBSD: patch-generator_py,v 1.2 2015/09/02 06:35:26 jasper Exp $
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1222795
    
    --- generator.py.orig	Wed Sep  2 08:33:58 2015
    +++ generator.py	Wed Sep  2 08:34:11 2015
    @@ -136,7 +136,7 @@ class docParser(xml.sax.handler.ContentHandler):
                 elif attrs['file'] == "libvirt-qemu":
                     qemu_enum(attrs['type'],attrs['name'],attrs['value'])
             elif tag == "macro":
    -            if "string" in attrs:
    +            if "string" in attrs.keys():
                     params.append((attrs['name'], attrs['string']))
     
         def end(self, tag):