diff options
author | Bogdano Arendartchuk <bogdano@mandriva.org> | 2009-02-17 14:17:42 +0000 |
---|---|---|
committer | Bogdano Arendartchuk <bogdano@mandriva.org> | 2009-02-17 14:17:42 +0000 |
commit | 10dc432cf501e752b7687b57ad784af3d015b235 (patch) | |
tree | cf38bdb3a770e76f79f9658ef3a2bb6944cf0600 | |
parent | 4888f95c70fca02e0c5b3dd09a2c940fd543c1ac (diff) | |
download | mgarepo-10dc432cf501e752b7687b57ad784af3d015b235.tar mgarepo-10dc432cf501e752b7687b57ad784af3d015b235.tar.gz mgarepo-10dc432cf501e752b7687b57ad784af3d015b235.tar.bz2 mgarepo-10dc432cf501e752b7687b57ad784af3d015b235.tar.xz mgarepo-10dc432cf501e752b7687b57ad784af3d015b235.zip |
Make the -M option (disable mirror) work again
It was not reading the value of the configuration option properly.
-rw-r--r-- | CHANGES | 3 | ||||
-rw-r--r-- | RepSys/layout.py | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -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") |