python bindings and uint16 on big-endian platforms

Johan Hedberg johan.hedberg at nokia.com
Fri Nov 4 16:34:46 PST 2005


On Fri, Nov 04, 2005, John (J5) Palmieri wrote:
> Looks good to me though you have a duplicated elif:
> 
> +            elif type == TYPE_INT16:
> +                num = iter.get_int16()
> +                arg = 'int16:%d\n' % (num)
> +            elif type == TYPE_UINT16:
> +                num = iter.get_uint16()
> +                arg = 'uint16:%u\n' % (num)
> 
> Can you repost the patch with one of those taken out?  Thanks.

Hmm, maybe I'm missing something, but how is that a duplicate? One is
for INT16 and the other for UINT16.

Johan


More information about the dbus mailing list