aboutsummaryrefslogtreecommitdiffstats
path: root/MgaRepo/layout.py
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageialinux-online.org>2016-11-05 15:38:08 +0100
committerPapoteur <papoteur@mageialinux-online.org>2016-11-05 15:38:08 +0100
commitf372e877cb32a6c009e29ff9ddf1a14f8b2fd216 (patch)
treebe50c72a1a883aa07cad805d44a0cda906285997 /MgaRepo/layout.py
parent8f51e35c875c9cbb4637cbf8796ee66a871ba57f (diff)
downloadmgarepo-f372e877cb32a6c009e29ff9ddf1a14f8b2fd216.tar
mgarepo-f372e877cb32a6c009e29ff9ddf1a14f8b2fd216.tar.gz
mgarepo-f372e877cb32a6c009e29ff9ddf1a14f8b2fd216.tar.bz2
mgarepo-f372e877cb32a6c009e29ff9ddf1a14f8b2fd216.tar.xz
mgarepo-f372e877cb32a6c009e29ff9ddf1a14f8b2fd216.zip
Revert to 1.12.3 state
Diffstat (limited to 'MgaRepo/layout.py')
-rw-r--r--MgaRepo/layout.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/MgaRepo/layout.py b/MgaRepo/layout.py
index 395e996..97f634d 100644
--- a/MgaRepo/layout.py
+++ b/MgaRepo/layout.py
@@ -5,7 +5,6 @@ import urllib.parse
from MgaRepo import Error, config
from MgaRepo.svn import SVN
-from MgaRepo.vcsutil import detectVCS
__all__ = ["package_url", "checkout_url", "repository_url", "get_url_revision"]
@@ -133,8 +132,7 @@ def repository_url(mirrored=False):
raise Error("you need to set the 'repository' " \
"configuration option on mgarepo.conf")
url = convert_default_parent(default_parent)
- vcs = detectVCS(url)
- return vcs.url
+ return url
def package_url(name_or_url, version=None, release=None, distro=None, backports=None,
mirrored=True, obsolete=None):