[rtems-source-builder commit] sb/getsources: Fix the repo_mail reference.
Chris Johns
chrisj at rtems.org
Thu Dec 5 08:07:18 UTC 2019
Module: rtems-source-builder
Branch: master
Commit: 443b8ce3d387e5597e9d20e83add53eb72e22c66
Changeset: http://git.rtems.org/rtems-source-builder/commit/?id=443b8ce3d387e5597e9d20e83add53eb72e22c66
Author: Chris Johns <chrisj at rtems.org>
Date: Thu Dec 5 19:01:54 2019 +1100
sb/getsources: Fix the repo_mail reference.
---
source-builder/sb/getsources.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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)
More information about the vc
mailing list