aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--MgaRepo/commands/cancel.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/MgaRepo/commands/cancel.py b/MgaRepo/commands/cancel.py
index 899f0d5..83e8839 100644
--- a/MgaRepo/commands/cancel.py
+++ b/MgaRepo/commands/cancel.py
@@ -5,13 +5,7 @@ from MgaRepo.command import *
from MgaRepo.rpmutil import get_spec, get_submit_info
from MgaRepo.util import get_auth, execcmd, get_helper
import urllib.request, urllib.parse, urllib.error
-import getopt
import sys
-import re
-import subprocess
-import uuid
-
-import xmlrpc.client
HELP = """\
Usage: mgarepo cancel [OPTIONS] [PACKAGE_SUBMISSION]
@@ -35,6 +29,9 @@ def parse_options():
return opts
def cancel(url, last = False, submithost=None):
+ if last:
+ print("This option is not yet working")
+ return
if submithost is None:
submithost = config.get("submit", "host")
if submithost is None: