()
return [
        line.strip()[1:].split()[1]
        for line in git.submodule()
    ]
returns something like
    ['corehq/apps/hqmedia/static/hqmedia/MediaUploader', ...]
returns something like
    ['corehq/apps/hqmedia/static/hqmedia/MediaUploader', ...]
returns something like [ corehq / apps / hqmedia / static / hqmedia / MediaUploader ... ]
def _get_submodules():
    """
    returns something like
    ['corehq/apps/hqmedia/static/hqmedia/MediaUploader', ...]
    """
    import sh
    git = sh.git.bake(_tty_out=False)
    return [
        line.strip()[1:].split()[1]
        for line in git.submodule()
    ]
def _get_submodules ( ) : import sh git = sh . git . bake ( _tty_out = False ) return [ line . strip ( ) [ 1 : ] . split ( ) [ 1 ] for line in git . submodule ( ) ]