New issue 11 by craigmaloney: PyTwerp sets friends / replies to None after
subsequent execution
http://code.google.com/p/pytwerp/issues/detail?id=11
What steps will reproduce the problem?
1. Run twerp -r (see replies)
2. Run twerp -r (see no replies)
3. Run twerp -r (see replies)
What is the expected output? What do you see instead?
Expect to see no replies after the initial run, but unfortunately, the
value gets blasted to None after showing no entries.
What version of the product are you using? On what operating system?
0.5.1, Ubuntu 9.04 Linux with Python 2.6.2
Please provide any additional information below.
I'm enclosing a patch.
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
Enclosed is a patch that checks if last_id[t] equals none. If so, it will
set
last_id[t] to since_id instead.
Attachments:
pytwerp-preserve-id.diff 562 bytes