aboutsummaryrefslogtreecommitdiff
path: root/gbp/scripts/buildpackage_rpm.py
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2015-11-19 15:45:30 +0200
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>2015-11-20 15:22:20 +0200
commit1fdb6976b3c32828afa2571cdcc95136f70f9b4f (patch)
treeff1558231e338ce1f0543f0742113f2367b24b4b /gbp/scripts/buildpackage_rpm.py
parentac020c3e104e2057ae8e9e7b5f95dbe9c12f61ef (diff)
buildpackage-rpm: fix crash when creating packaging tags
Creating of tags got broken when support for mock was introduced in bfe32f19e7a2a24b93b36467772254583c34b6ff. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Diffstat (limited to 'gbp/scripts/buildpackage_rpm.py')
-rw-r--r--gbp/scripts/buildpackage_rpm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gbp/scripts/buildpackage_rpm.py b/gbp/scripts/buildpackage_rpm.py
index 38b83cb..1ef3c4e 100644
--- a/gbp/scripts/buildpackage_rpm.py
+++ b/gbp/scripts/buildpackage_rpm.py
@@ -290,7 +290,7 @@ def setup_mock(options):
os.environ['GBP_BUILDER_MOCK_OPTIONS'] = options.mock_options
-def create_packaging_tag(repo, tag, commit, version, options):
+def create_packaging_tag(repo, commit, name, version, options):
"""Create a packaging/release Git tag"""
tag_name, tag_msg = packaging_tag_data(repo, commit, name, version, options)