]> granicus.if.org Git - yasm/commitdiff
* symrec.pxi: Remove duplicate l.appends() in values() and items().
authorPeter Johnson <peter@tortall.net>
Mon, 17 Apr 2006 01:00:43 +0000 (01:00 -0000)
committerPeter Johnson <peter@tortall.net>
Mon, 17 Apr 2006 01:00:43 +0000 (01:00 -0000)
svn path=/trunk/yasm/; revision=1496

tools/python-yasm/symrec.pxi

index e26c178d3d6afa53cf7ca8ef7d76e0beaded9fbb..212e5ba4d9deeb2fcd4759da2a707da80ab67aba 100644 (file)
@@ -255,7 +255,6 @@ cdef class SymbolTable:
         iter = yasm_symtab_first(self.symtab)
         while iter != NULL:
             l.append(__make_symbol(yasm_symtab_iter_value(iter)))
-            l.append(yasm_symrec_get_name(yasm_symtab_iter_value(iter)))
             iter = yasm_symtab_next(iter)
         return l
 
@@ -267,7 +266,6 @@ cdef class SymbolTable:
         while iter != NULL:
             sym = yasm_symtab_iter_value(iter)
             l.append((yasm_symrec_get_name(sym), __make_symbol(sym)))
-            l.append(yasm_symrec_get_name(yasm_symtab_iter_value(iter)))
             iter = yasm_symtab_next(iter)
         return l