diff --git a/scripts/python-tools.sh b/scripts/python-tools.sh index aa83d8f5..b9724178 100644 --- a/scripts/python-tools.sh +++ b/scripts/python-tools.sh @@ -81,12 +81,12 @@ cmd_create_init() echo "import `module_path $f` as $f" __add_seen $f done - echo fi if [ ${#seen[@]} -eq 0 ]; then echo "__all__ = []" else + echo echo "__all__ = [" for dst_type in ${!seen[@]}; do echo " \"$dst_type\","