Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 464 by gse...@zagrodzki.net: Docs upload does not work on files
with no extension
http://code.google.com/p/googlecl/issues/detail?id=464
What steps will reproduce the problem?
1. google docs upload somefilewithnoextension
What is the expected output? What do you see instead?
File "/usr/lib/pymodules/python2.6/googlecl/docs/base.py", line 350, in
upload_single_doc
content_type = self._determine_content_type(file_ext)
File "/usr/lib/pymodules/python2.6/googlecl/docs/client.py", line 70, in
_determine_content_type
return MIMETYPES[file_ext.upper()]
What version of the product are you using? On what operating system? What
version of gdata-python-client (aka python-gdata)?
Linux, googlecl 0.9.13, python-gdata 2.0.14