X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fimport.py;fp=src%2Fimport.py;h=eb58f5561970b5ef749dafa697fab7239c3f7256;hb=ab4393d3a63dde6fca2a167f7d6aaf64972b02f0;hp=63cba99e45107512b2f46092af181a5c1e073878;hpb=4f1ff61d7906b3a27bb261564cf681a97154df18;p=free-sw%2Fxcb%2Fproto diff --git a/src/import.py b/src/import.py index 63cba99..eb58f55 100755 --- a/src/import.py +++ b/src/import.py @@ -40,9 +40,7 @@ class ProcessImports(XMLFilterBase): XMLFilterBase.startElement(self, name, attrs) if name == 'xcb': seen[attrs['header']] = True - if attrs['header'] != 'xcb_types': - self.ensure('xcb_types') - self.ensure('xproto') + self.ensure('xproto') def characters(self, content): if self.inimport is not None: