aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--MgaRepo/svn.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/MgaRepo/svn.py b/MgaRepo/svn.py
index ca880e1..6de8a85 100644
--- a/MgaRepo/svn.py
+++ b/MgaRepo/svn.py
@@ -44,12 +44,12 @@ class SVN:
except Error as e:
msg = None
if e.args:
- if "Permission denied" in e.args[0]:
+ if "Permission denied" in e.args:
msg = ("It seems ssh-agent or ForwardAgent are not setup "
"or your username is wrong. See "
"https://wiki.mageia.org/en/Packagers_ssh"
" for more information.")
- elif "authorization failed" in e.args[0]:
+ elif "authorization failed" in e.args:
msg = ("Note that mgarepo does not support any HTTP "
"authenticated access.")
if kwargs.get("show") and \