diff options
author | biao716.wang <biao716.wang@samsung.com> | 2019-11-14 16:17:06 +0800 |
---|---|---|
committer | biao716.wang <biao716.wang@samsung.com> | 2019-11-14 16:17:06 +0800 |
commit | 4696eb2a81eeb2af32cbdda8b0e612b3726ac1f7 (patch) | |
tree | 345a223e0387d52050c26f6d7bb52095953b31a7 /gbp/scripts/import_srpm.py | |
parent | f0a26b109d267557c949c5fe1012936a3f4d85a7 (diff) | |
download | git-buildpackage-4696eb2a81eeb2af32cbdda8b0e612b3726ac1f7.tar.gz git-buildpackage-4696eb2a81eeb2af32cbdda8b0e612b3726ac1f7.tar.bz2 git-buildpackage-4696eb2a81eeb2af32cbdda8b0e612b3726ac1f7.zip |
fix pylint error for git-buildpackage
Change-Id: Ia319032dcd3f55600bb79b5c85372a7a77122174
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
Diffstat (limited to 'gbp/scripts/import_srpm.py')
-rwxr-xr-x | gbp/scripts/import_srpm.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gbp/scripts/import_srpm.py b/gbp/scripts/import_srpm.py index 85f1225f..b573f2bc 100755 --- a/gbp/scripts/import_srpm.py +++ b/gbp/scripts/import_srpm.py @@ -306,7 +306,7 @@ def main(argv): if not clean and not is_empty: gbp.log.err("Repository has uncommitted changes, commit " "these first: ") - raise GbpError, out + raise GbpError(out) except GitRepositoryError: gbp.log.info("No git repository found, creating one.") |