Package: python3-easywebdav
Version: 1.2.0-2
Severity: important

Dear Maintainer,

using the python3 version of this package, i found that it fails with an
exception, indicating that this package is not python3 ready.


~~~
>>> import easywebdav
>>> easywebdav.connect("example.com").upload("nada", "/dev/null")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3/dist-packages/easywebdav/client.py", line 153, in
upload
    if isinstance(local_path_or_fileobj, basestring):
NameError: name 'basestring' is not defined
~~~

'basestring' is a python2 thing, in python3 all strings are 'str'.



-- System Information:
Debian Release: stretch/sid
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'stable-updates'), (500, 
'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.3.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=de_AT.utf8, LC_CTYPE=de_AT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python3-easywebdav depends on:
ii  python3-requests  2.9.1-3
pn  python3:any       <none>

python3-easywebdav recommends no packages.

python3-easywebdav suggests no packages.

-- no debconf information

_______________________________________________
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to