summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2014-07-21 12:29:36 +0000
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>2014-11-14 14:47:21 +0200
commit1336c10d4d9364bb8c6220dbfa6c8285d7893095 (patch)
tree84ea3984442f7b628aa08f63f6a75f225fb5fd22
parentd2b54181939fa3428e5c8a46ab6fc70edc396f19 (diff)
downloadgit-buildpackage-1336c10d4d9364bb8c6220dbfa6c8285d7893095.tar.gz
git-buildpackage-1336c10d4d9364bb8c6220dbfa6c8285d7893095.tar.bz2
git-buildpackage-1336c10d4d9364bb8c6220dbfa6c8285d7893095.zip
buildpackage-rpm: remove unused imports
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
-rwxr-xr-xgbp/scripts/buildpackage_rpm.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/gbp/scripts/buildpackage_rpm.py b/gbp/scripts/buildpackage_rpm.py
index ef784f42..07899ce8 100755
--- a/gbp/scripts/buildpackage_rpm.py
+++ b/gbp/scripts/buildpackage_rpm.py
@@ -25,14 +25,11 @@ import sys
import shutil
import re
from datetime import datetime
-import gzip
import gbp.tmpfile as tempfile
import gbp.rpm as rpm
from gbp.rpm.policy import RpmPkgPolicy
-from gbp.command_wrappers import (Command,
- RunAtCommand, CommandExecFailed,
- RemoveTree)
+from gbp.command_wrappers import Command, RunAtCommand, CommandExecFailed
from gbp.config import (GbpOptionParserRpm, GbpOptionGroup)
from gbp.rpm.git import (GitRepositoryError, RpmGitRepository)
from gbp.errors import GbpError
@@ -42,7 +39,7 @@ from gbp.scripts.common.buildpackage import (index_name, wc_names,
git_archive_submodules,
git_archive_single, dump_tree,
write_wc, drop_index)
-from gbp.pkg import (compressor_opts, compressor_aliases)
+from gbp.pkg import compressor_opts
from gbp.scripts.pq_rpm import update_patch_series, parse_spec
from gbp.scripts.common.pq import is_pq_branch, pq_branch_name, pq_branch_base