Gmansolf / googlecl

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

Listing Blogger entries by title blows-up when one doesn't have any Blogger entries #150

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Don't have a any Blogger entries
2. 'Run google blogger list title'
3. Frown.

What is the expected output? What do you see instead?

I would expect to see 'google' CL to say there weren't any matching entries.

I see instead:

Traceback (most recent call last):
  File "/usr/local/bin/google", line 463, in <module>
    main()
  File "/usr/local/bin/google", line 457, in main
    run_once(options, args)
  File "/usr/local/bin/google", line 356, in run_once
    task.run(client, options, args)
  File "/Library/Python/2.5/site-packages/googlecl/blogger/service.py", line 239, in _run_list
    print err
  File "/Library/Python/2.5/site-packages/googlecl/blogger/service.py", line 34, in __str__
    return self.args[0] + ': ' + self.args[1]
TypeError: cannot concatenate 'str' and 'NoneType' objects

What version of the product are you using? On what operating system? What
version of gdata-python-client (aka python-gdata)?

0.9.7

Please provide any additional information below.

Google CL is neat-o!  Keep up the good work.

Original issue reported on code.google.com by ebe...@gmail.com on 22 Jun 2010 at 8:11

GoogleCodeExporter commented 8 years ago
This seems to have been stealthily patched at some point for 0.9.8

Original comment by tom.h.mi...@gmail.com on 23 Jul 2010 at 11:24