[gobolinux-devel] [gobolinux-commits] tools/Scripts/bin AugmentCommandNotFoundDatabase

Jonas Karlsson jonka750 at student.liu.se
Sun Feb 17 01:00:07 NZDT 2008


On Sat, 16 Feb 2008 11:29:41 +0100, Michael Homer <michael at e.geek.nz> wrote:

> CVSROOT:	/sources/goboscripts
> Module name:	tools
> Changes by:	Michael Homer <mwh>	08/02/16 10:29:41
>
> Added files:
> 	Scripts/bin    : AugmentCommandNotFoundDatabase
>
[...]
> +# Output data in sorted order so it's deterministic and amenable to short diffs when maintained in CVS.
> +executables = sorted(commands.keys())
> +out("commands = {\n")
> +for ex in executables:
> +	out(" '" + ex + "': [")
> +	for prog in sorted(commands[ex]):
> +		out("'" + prog + "', ")

Is it supposed to be a comma here? The output then becomes:
'foo': ['Foo', ],

-- 
/Jonas
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


More information about the gobolinux-devel mailing list