Skip to content
Snippets Groups Projects
Commit 2ce08f87 authored by Frede H's avatar Frede H :speech_balloon:
Browse files

fixed indentation

updated docs
parent 14253c2c
No related branches found
No related tags found
No related merge requests found
No preview for this file type
......@@ -127,8 +127,8 @@ class PacmanMirrors:
nargs="+",
help=txt.HLP_ARG_API_PROTOCOLS)
api.add_argument("-R", "--re-branch",
action="store_true",
help=txt.HLP_ARG_API_RE_BRANCH)
action="store_true",
help=txt.HLP_ARG_API_RE_BRANCH)
branch = api.add_mutually_exclusive_group()
branch.add_argument("-b", "--branch",
type=str,
......@@ -261,16 +261,15 @@ class PacmanMirrors:
# end removal
if set_branch:
apifn.write_config_branch(self.config["branch"],
self.config["config_file"])
self.config["config_file"])
if re_branch:
apifn.write_mirrorlist_branch(self.config["branch"], self.config["mirror_list"])
if protocols:
apifn.api_write_protocols(self.config["protocols"],
self.config["config_file"])
if get_branch:
sys.exit(self.config["branch"])
if re_branch:
apifn.write_mirrorlist_branch(self.config["branch"], self.config["mirror_list"])
def build_common_mirror_list(self):
"""Generate common mirrorlist"""
worklist = mirrorfn.filter_mirror_country(self.mirrors.mirrorlist,
......
......@@ -21,10 +21,8 @@
from . import i18n
_ = i18n.language.gettext
# TRANSLATABLE STRINGS
# message type
......
......@@ -325,5 +325,5 @@ Frede Hundewadt <a href="&#109;&#97;&#105;&#108;&#116;&#111;&#58;&#102;&#114;&#1
<!--
MkDocs version : 0.16.3
Build Date UTC : 2017-05-28 13:07:25
Build Date UTC : 2017-05-28 13:33:30
-->
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment