bernigaud / googlecl

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

blogger posting requires -t #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

This fails, but if I add a -t "foo" it works.

$ ./google.py blogger post -n "Another test post" "Wow, I love posting to 
blogger from the command line"
Traceback (most recent call last):
  File "./google.py", line 290, in <module>
    main()
  File "./google.py", line 284, in main
    run_once(options, args)
  File "./google.py", line 209, in run_once
    task.run(client, options, args)
  File "src/googlecl/trunk/src/googlecl/blogger/service.py", line 177, in 
_run_post
    client.LabelPosts([entry], options.tags)
  File "src/googlecl/trunk/src/googlecl/blogger/service.py", line 119, in 
label_posts
    remove_set, add_set, replace_tags = util.generate_tag_sets(tags)
  File "src/googlecl/trunk/src/util.py", line 462, in generate_tag_sets
    tags = tags.replace(', ', ',')
AttributeError: 'NoneType' object has no attribute 'replace'

Original issue reported on code.google.com by jh...@google.com on 28 May 2010 at 1:10

GoogleCodeExporter commented 9 years ago
Silly mistake. Fixed in the next commit, though the efficiency needs to be 
improved.

Original comment by tom.h.mi...@gmail.com on 29 May 2010 at 2:09

GoogleCodeExporter commented 9 years ago

Original comment by tom.h.mi...@gmail.com on 29 May 2010 at 2:56