[ovs-dev] [PATCH 02/13] ovsdb-idlc: With "doc" command, output tables and columns alphabetically.

Price, Reid reid at nicira.com
Tue Jan 26 01:01:30 UTC 2010


FWIW, you can do this (tuples are sorted by elements left to right in a
logical manner)
  for columnName, column in sorted(table.columns.iteritems()):
if you don't mind the busy 60-char line.  Nothing wrong with what you have
though.

  -Reid

On Mon, Jan 25, 2010 at 2:03 PM, Jesse Gross <jesse at nicira.com> wrote:

> On Mon, Jan 25, 2010 at 1:18 PM, Ben Pfaff <blp at nicira.com> wrote:
>
>> Until this commit, tables and columns in output were output in random
>> order (according to the ordering of Python's internal hash table).
>> Alphabetical order makes more sense.
>>
>
> Looks good.
>
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev_openvswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-dev/attachments/20100125/747ef2b3/attachment-0003.html>


More information about the dev mailing list