Commit 2159b6a7 authored by Dan Johansen's avatar Dan Johansen

comment more gtk stuff, since python 3.8

parent b34d2056
......@@ -143,11 +143,11 @@ class PacmanMirrors:
action="store_true",
help=_("don't generate mirrorlist if NoUpdate is "
"set to True in the configuration file"))
if gtk_available:
parser.add_argument("-i", "--interactive",
action="store_true",
help=_("interactively generate a custom "
"mirrorlist"))
# if gtk_available:
# parser.add_argument("-i", "--interactive",
# action="store_true",
# help=_("interactively generate a custom "
# "mirrorlist"))
parser.add_argument("-v", "--version",
action="store_true",
help=_("print the pacman-mirrors version"))
......@@ -208,8 +208,8 @@ class PacmanMirrors:
else:
self.output_mirrorlist = os.getcwd() + "/" + args.output
if gtk_available and args.interactive:
self.interactive = args.interactive
# if gtk_available and args.interactive:
# self.interactive = args.interactive
if args.timeout:
self.max_wait_time = args.timeout
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment