diff options
author | Papoteur <papoteur@mageialinux-online.org> | 2015-10-27 13:49:31 +0100 |
---|---|---|
committer | Papoteur <papoteur@mageialinux-online.org> | 2015-10-27 13:49:31 +0100 |
commit | 7349895c380a6ca31c343a9eabf45bf9671a6dff (patch) | |
tree | c629cffc1933147dcccc6433829ebbbab1bb19d2 /MgaRepo/svn.py | |
parent | 3a4d9b237f451c8395ecb80ca78c67c8f1d58638 (diff) | |
download | mgarepo-7349895c380a6ca31c343a9eabf45bf9671a6dff.tar mgarepo-7349895c380a6ca31c343a9eabf45bf9671a6dff.tar.gz mgarepo-7349895c380a6ca31c343a9eabf45bf9671a6dff.tar.bz2 mgarepo-7349895c380a6ca31c343a9eabf45bf9671a6dff.tar.xz mgarepo-7349895c380a6ca31c343a9eabf45bf9671a6dff.zip |
correct types for strings in util.py and svn.py
Diffstat (limited to 'MgaRepo/svn.py')
-rw-r--r-- | MgaRepo/svn.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MgaRepo/svn.py b/MgaRepo/svn.py index 5254ab1..ce5fccd 100644 --- a/MgaRepo/svn.py +++ b/MgaRepo/svn.py @@ -41,12 +41,12 @@ class SVN: except Error as e: msg = None if e.args: - if "Permission denied" in e.args[0]: + if b"Permission denied" in e.args[0]: 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 b"authorization failed" in e.args[0]: msg = ("Note that mgarepo does not support any HTTP " "authenticated access.") if kwargs.get("show") and \ |