Commit 4802ea5ab56a2049382105153c6a682f9e0c90f3
- Diff rendering mode:
- inline
- side by side
entry.py
(2 / 8)
|   | |||
| 293 | 293 | class BackTypeComment(Comment): | |
| 294 | 294 | pass | |
| 295 | 295 | ||
| 296 | class BlipFMUpdate(MicroBlogEntry): | ||
| 297 | pass | ||
| 298 | |||
| 299 | 296 | class DeliciousBookmark(SharedItem): | |
| 300 | 297 | """Delicious puts tags together, space separated.""" | |
| 301 | 298 | def get_tags(self): | |
| … | … | ||
| 379 | 379 | return cursor._rows[0][0] | |
| 380 | 380 | else: | |
| 381 | 381 | #TODO: need to output warning and move on, not raise exception | |
| 382 | #BAD BUG HERE | ||
| 383 | """ If I listen to the same song in a period of time | ||
| 384 | between database updates, rec_updated will be the same! | ||
| 385 | I think... but... then why has this never happened before?""" | ||
| 386 | raise Exception("Cannot determine unqiue entry_id") | ||
| 382 | print cursor._rows | ||
| 383 | raise Exception("Cannot determine unqiue entry_id %d" % cursor.rowcount) | ||
| 387 | 384 | ||
| 388 | 385 | class MySpaceBlogEntry(BlogEntry): | |
| 389 | 386 | def get_content(self): |

