[gobject-introspection] ast: Remove what looks to be a copy/paste error



commit 2081ad22888bb420b00d0799ca01ab2bff338d19
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Wed Aug 29 06:16:39 2012 -0300

    ast: Remove what looks to be a copy/paste error
    
    A symbol isn't a ctype. None of the tests failed when I removed
    this, git blame wasn't very enlightening, and we don't remove this
    in the remove method, so I'm thinking it's an error.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=682969

 giscanner/ast.py |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/giscanner/ast.py b/giscanner/ast.py
index 7fa75ed..2e37db4 100644
--- a/giscanner/ast.py
+++ b/giscanner/ast.py
@@ -403,8 +403,6 @@ returned."""
         self.names[node.name] = node
         if hasattr(node, 'ctype'):
             self.ctypes[node.ctype] = node
-        if hasattr(node, 'symbol'):
-            self.ctypes[node.symbol] = node
 
     def remove(self, node):
         if isinstance(node, Alias):



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