termie/lp2gh — Issue #1: first attempt at exporting bugs thwarted with AttributeError
Author: rejon
Created: 2012-03-06 16:28:22+00:00
State: open

[rejon@slowtop:~/Software/lp2gh]
$ bin/lp2gh-export-bugs worldlabel > ../bugs.json
fetching Bug #812563 in worldlabel: "there isn't a clear test site setup"
Traceback (most recent call last):
File "bin/lp2gh-export-bugs", line 27, in
o = bugs.export(FLAGS.project)
File "/home/rejon/Software/lp2gh/lp2gh/bugs.py", line 138, in export
rv = bug_task_to_dict(x)
File "/home/rejon/Software/lp2gh/lp2gh/bugs.py", line 86, in bug_task_to_dict
'date_created': util.to_timestamp(bug_task.date_created),
File "/home/rejon/Software/lp2gh/lp2gh/util.py", line 6, in to_timestamp
tt = (dt.year, dt.month, dt.day,
AttributeError: 'unicode' object has no attribute 'year'