[PATCH] Add fstab.configure

Richard Maw richard.maw at codethink.co.uk
Thu Oct 24 18:22:10 BST 2013


On Thu, Oct 24, 2013 at 06:05:50PM +0100, Lars Wirzenius wrote:
<snip>
> +def asciibetical(strings):
> +
> +    def key(s):
> +        return [ord(c) for c in s]
> +
> +    return sorted(strings, key=key)
> +
> +
> +fstab_filename = os.path.join(sys.argv[1], 'etc', 'fstab')
> +
> +fstab_vars = sorted(x for x in os.environ if x.startswith('FSTAB_'))

I think you meant to use asciibetical here.

Everything else is golden. If you're happy fixing that up in the merge,
you have a +1 from me.



More information about the baserock-dev mailing list