diff options
author | Jun Wang <junbill.wang@samsung.com> | 2016-01-28 04:32:24 +0800 |
---|---|---|
committer | Jun Wang <junbill.wang@samsung.com> | 2016-01-28 04:34:48 +0800 |
commit | 745a0eca470a22efa96ed2cf762daa583cb172ed (patch) | |
tree | a9f661706118bf6a5828a3aeaaa27d7d53c14175 /gbp | |
parent | 84c67ab58e4bb5e7d9dae77cf8251ed0a45ff017 (diff) | |
download | git-buildpackage-745a0eca470a22efa96ed2cf762daa583cb172ed.tar.gz git-buildpackage-745a0eca470a22efa96ed2cf762daa583cb172ed.tar.bz2 git-buildpackage-745a0eca470a22efa96ed2cf762daa583cb172ed.zip |
Fix some errors of merging
Change-Id: I4441fb369aa88598f238c41710edeba01cd537b6
Diffstat (limited to 'gbp')
-rw-r--r-- | gbp/scripts/common/pq.py | 6 | ||||
-rwxr-xr-x | gbp/scripts/import_srpm.py | 2 | ||||
-rwxr-xr-x | gbp/scripts/pq_rpm.py | 3 |
3 files changed, 0 insertions, 11 deletions
diff --git a/gbp/scripts/common/pq.py b/gbp/scripts/common/pq.py index 16868845..a91ec8e9 100644 --- a/gbp/scripts/common/pq.py +++ b/gbp/scripts/common/pq.py @@ -88,10 +88,6 @@ def is_pq_branch(branch, options): return True return False - pq_re = re.compile(r'^%s$' % (pq_format_str % dict(branch="(?P<base>\S+)"))) - if pq_re.match(branch): - return True - return False def pq_branch_name(branch, options, extra_keys=None): """ @@ -120,8 +116,6 @@ def pq_branch_name(branch, options, extra_keys=None): if not is_pq_branch(branch, options): return pq_format_str % format_fields - if not is_pq_branch(branch, options): - return pq_format_str % format_fields def pq_branch_base(pq_branch, options): """ diff --git a/gbp/scripts/import_srpm.py b/gbp/scripts/import_srpm.py index 7a397fe9..85f1225f 100755 --- a/gbp/scripts/import_srpm.py +++ b/gbp/scripts/import_srpm.py @@ -197,8 +197,6 @@ def parse_args(argv): parser.add_config_file_option(option_name="color-scheme", dest="color_scheme") parser.add_config_file_option(option_name="tmp-dir", dest="tmp_dir") - parser.add_config_file_option(option_name="vendor", action="store", - dest="vendor") parser.add_option("--download", action="store_true", dest="download", default=False, help="download source package") parser.add_config_file_option(option_name="vendor", action="store", diff --git a/gbp/scripts/pq_rpm.py b/gbp/scripts/pq_rpm.py index 2f4f42c4..c33e67b2 100755 --- a/gbp/scripts/pq_rpm.py +++ b/gbp/scripts/pq_rpm.py @@ -690,9 +690,6 @@ def main(argv): dest="patch_export_squash_until") parser.add_config_file_option("patch-export-ignore-path", dest="patch_export_ignore_path") - parser.add_option("--export-rev", action="store", dest="export_rev", default="", - help="Export patches from treeish object TREEISH instead " - "of head of patch-queue branch", metavar="TREEISH") (options, args) = parser.parse_args(argv) gbp.log.setup(options.color, options.verbose, options.color_scheme) |