Issue 11 in pytwerp: PyTwerp sets friends / replies to None after subsequent execution

2 views
Skip to first unread message

codesite...@google.com

unread,
Sep 17, 2009, 11:46:23 PM9/17/09
to tw...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

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

codesite...@google.com

unread,
Sep 17, 2009, 11:50:25 PM9/17/09
to tw...@googlegroups.com

Comment #1 on issue 11 by craigmaloney: PyTwerp sets friends / replies to

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

Reply all
Reply to author
Forward
0 new messages