[ovs-dev] [PATCH 02/13] ovsdb-idlc: With "doc" command, output tables and columns alphabetically.
Ben Pfaff
blp at nicira.com
Tue Jan 26 17:34:00 UTC 2010
Hey, thanks for the great tip. I've updated my commit.
On Mon, Jan 25, 2010 at 05:01:30PM -0800, Price, Reid wrote:
> 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
> >
> >
More information about the dev
mailing list