diff options
Diffstat (limited to 'git_superproject.py')
| -rw-r--r-- | git_superproject.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/git_superproject.py b/git_superproject.py index 86100960..8769355c 100644 --- a/git_superproject.py +++ b/git_superproject.py | |||
| @@ -106,6 +106,11 @@ class Superproject(object): | |||
| 106 | """Returns a dictionary of projects and their commit ids.""" | 106 | """Returns a dictionary of projects and their commit ids.""" |
| 107 | return self._project_commit_ids | 107 | return self._project_commit_ids |
| 108 | 108 | ||
| 109 | @property | ||
| 110 | def manifest_path(self): | ||
| 111 | """Returns the manifest path if the path exists or None.""" | ||
| 112 | return self._manifest_path if os.path.exists(self._manifest_path) else None | ||
| 113 | |||
| 109 | def _GetBranch(self): | 114 | def _GetBranch(self): |
| 110 | """Returns the branch name for getting the approved manifest.""" | 115 | """Returns the branch name for getting the approved manifest.""" |
| 111 | p = self._manifest.manifestProject | 116 | p = self._manifest.manifestProject |
