diff options
author | Chris Johns <chrisj@rtems.org> | 2019-12-05 19:01:54 +1100 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2019-12-05 19:01:54 +1100 |
commit | 443b8ce3d387e5597e9d20e83add53eb72e22c66 (patch) | |
tree | aadc7f143bd4abeba734686ffe9a7025fb0bda0d /source-builder | |
parent | 6efd343a92ec8e6e442528938e3600068da30daa (diff) |
sb/getsources: Fix the repo_mail reference.
Diffstat (limited to 'source-builder')
-rw-r--r-- | source-builder/sb/getsources.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source-builder/sb/getsources.py b/source-builder/sb/getsources.py index f9f5454..523a3a5 100644 --- a/source-builder/sb/getsources.py +++ b/source-builder/sb/getsources.py @@ -249,6 +249,7 @@ class options(object): def sb_git(self): repo = git.repo(self.defaults.expand('%{_sbdir}'), self) + repo_mail = None if repo.valid(): repo_valid = '1' repo_head = repo.head() @@ -267,7 +268,6 @@ class options(object): repo_clean = '%{nil}' repo_remotes = '%{nil}' repo_id = 'no-repo' - repo_mail = None self.defaults['_sbgit_valid'] = repo_valid self.defaults['_sbgit_head'] = repo_head self.defaults['_sbgit_clean'] = str(repo_clean) |