salimoha / googlecl

Automatically exported from code.google.com/p/googlecl
0 stars 0 forks source link

Docs upload does not work on files with no extension #464

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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

Original issue reported on code.google.com by gse...@zagrodzki.net on 1 Mar 2012 at 11:04

GoogleCodeExporter commented 9 years ago

Original comment by szy...@endpoint.com on 29 Dec 2012 at 9:46