diff --git a/osc-staging.py b/osc-staging.py index a907f74f..c71529eb 100644 --- a/osc-staging.py +++ b/osc-staging.py @@ -18,7 +18,6 @@ _plugin_dir = os.path.expanduser('~/.osc-plugins') sys.path.append(_plugin_dir) from osclib.stagingapi import StagingAPI -from osclib.request_finder import RequestFinder from osclib.select_command import SelectCommand from osclib.unselect_command import UnselectCommand from osclib.accept_command import AcceptCommand @@ -26,7 +25,6 @@ from osclib.cleanup_rings import CleanupRings from osclib.list_command import ListCommand from osclib.freeze_command import FreezeCommand from osclib.check_command import CheckCommand -from osclib.comments import CommentAPI OSC_STAGING_VERSION = '0.0.1' diff --git a/osclib/check_command.py b/osclib/check_command.py index 2dceb0ea..fa96dc89 100644 --- a/osclib/check_command.py +++ b/osclib/check_command.py @@ -1,9 +1,3 @@ -from xml.etree import cElementTree as ET - -from osc.core import makeurl -from osc.core import http_GET - - class CheckCommand(object): def __init__(self, api): self.api = api diff --git a/osclib/checkrepo.py b/osclib/checkrepo.py index c3198849..86da5114 100644 --- a/osclib/checkrepo.py +++ b/osclib/checkrepo.py @@ -16,7 +16,6 @@ from collections import defaultdict import os -import shutil import subprocess from urllib import quote_plus import urllib2