Merge branch 'saleyn-erlydtl'

This commit is contained in:
Dave Smith 2012-12-17 09:27:07 -07:00
commit 78fa8fc3d5

View file

@ -133,7 +133,7 @@ erlydtl_opts(Config) ->
Tuples = [{K,V} || {K,V} <- Opts],
case [L || L <- Opts, is_list(L), not io_lib:printable_list(L)] of
[] ->
lists:keysort(1, Tuples);
[lists:keysort(1, Tuples)];
Lists ->
lists:map(fun(L) ->
lists:keysort(1, lists:foldl(fun({K,T}, Acc) ->