def METHOD_NAME(self):
    self.status = {}
    try:
        for entry in check_output(['git', 'submodule', 'status'], cwd=self.root).split("\n"):
            data = entry.split()
            if len(data) >= 2:
                self.status[data[1]] = data[0]
    except subprocess.CalledProcessError:
        raise OnlSubmoduleError("git command(s) failed")