diff options
Diffstat (limited to 'MgaRepo')
-rw-r--r-- | MgaRepo/rpmutil.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/MgaRepo/rpmutil.py b/MgaRepo/rpmutil.py index 92f663d..6f7f415 100644 --- a/MgaRepo/rpmutil.py +++ b/MgaRepo/rpmutil.py @@ -34,8 +34,7 @@ def detectVCS(url): return SVN() if os.path.exists(os.path.join(url,".git")) and os.path.isdir(os.path.join(url,".git")): return GIT() - else: - raise Error("No supported repository found at path: %s" % url) + raise Error("No supported repository found at path: %s" % url) def get_spec(pkgdirurl, targetdir=".", submit=False): svn = detectVCS(pkgdirurl) |