summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@umlautQ.umlaeute.mur.at>2016-02-23 14:49:32 +0100
committerSandro Tosi <morph@debian.org>2022-06-03 16:21:05 +0200
commit94e665ad31f0974e1c45866b57ba84e1265a9bcb (patch)
tree06d4b9f2e2755eafa797b08e3b7cf7cf2debeebb
parent9ebdfbcc9955f7b79b03dcdf1dcedb0d555c9cc1 (diff)
Provide fallback for "basestring" under python3
Patch-Name: python3.patch Gbp-Pq: Name python3.patch
-rw-r--r--easywebdav/client.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/easywebdav/client.py b/easywebdav/client.py
index 4003198..a8fb219 100644
--- a/easywebdav/client.py
+++ b/easywebdav/client.py
@@ -12,6 +12,7 @@ if py_majversion == '2':
else:
from http.client import responses as HTTP_CODES
from urllib.parse import urlparse
+ basestring = str
DOWNLOAD_CHUNK_SIZE_BYTES = 1 * 1024 * 1024