From 10dc432cf501e752b7687b57ad784af3d015b235 Mon Sep 17 00:00:00 2001 From: Bogdano Arendartchuk Date: Tue, 17 Feb 2009 14:17:42 +0000 Subject: Make the -M option (disable mirror) work again It was not reading the value of the configuration option properly. --- CHANGES | 3 +++ RepSys/layout.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 87fc369..29c2fd7 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,6 @@ +* Development +- make the -M option work again + * 1.7 - dropped all authenticated access support: subversion authentication has been broken for a long time and the workarounds weren't decent. It will diff --git a/RepSys/layout.py b/RepSys/layout.py index a4a3846..a358c28 100644 --- a/RepSys/layout.py +++ b/RepSys/layout.py @@ -117,7 +117,7 @@ def remove_current(pkgdirurl): def repository_url(mirrored=False): url = None - if mirrored and config.get("global", "use-mirror"): + if mirrored and config.getbool("global", "use-mirror"): url = config.get("global", "mirror") if url is None: url = config.get("global", "repository") -- cgit v1.2.1