From: Peter Johnson Date: Mon, 17 Apr 2006 01:00:43 +0000 (-0000) Subject: * symrec.pxi: Remove duplicate l.appends() in values() and items(). X-Git-Tag: v0.5.0~17^2~8 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bba331ea4151a8cf84f9064d2a23c7e20a782972;p=yasm * symrec.pxi: Remove duplicate l.appends() in values() and items(). svn path=/trunk/yasm/; revision=1496 --- diff --git a/tools/python-yasm/symrec.pxi b/tools/python-yasm/symrec.pxi index e26c178d..212e5ba4 100644 --- a/tools/python-yasm/symrec.pxi +++ b/tools/python-yasm/symrec.pxi @@ -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