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 6f7f415..443a403 100644 --- a/MgaRepo/rpmutil.py +++ b/MgaRepo/rpmutil.py @@ -27,8 +27,7 @@ def detectVCS(url): return GIT() elif "svn" in uri: return SVN() - else: - raise Error("Unknown protocol %s for %s" % (protocol, url)) + raise Error("Unknown protocol %s for %s" % (protocol, url)) elif os.path.exists(url) and os.path.isdir(url): if os.path.exists(os.path.join(url,".svn")) and os.path.isdir(os.path.join(url,".svn")): return SVN() |