projects
/
feedingit
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
826d5c0
)
fix ObjectExistsError when not using woodchuck
author
Yves Marcoz
<yves@marcoz.org>
Sun, 22 Jan 2012 03:46:19 +0000
(19:46 -0800)
committer
Yves Marcoz
<yves@marcoz.org>
Sun, 22 Jan 2012 03:46:19 +0000
(19:46 -0800)
psa_harmattan/feedingit/pysrc/rss_sqlite.py
patch
|
blob
|
history
diff --git
a/psa_harmattan/feedingit/pysrc/rss_sqlite.py
b/psa_harmattan/feedingit/pysrc/rss_sqlite.py
index
ff0fcba
..
2fda0f5
100644
(file)
--- a/
psa_harmattan/feedingit/pysrc/rss_sqlite.py
+++ b/
psa_harmattan/feedingit/pysrc/rss_sqlite.py
@@
-374,7
+374,8
@@
class Feed(BaseObject):
def wc_success():
try:
- wc().stream_register (self.key, "", 6 * 60 * 60)
+ if wc().available:
+ wc().stream_register (self.key, "", 6 * 60 * 60)
except woodchuck.ObjectExistsError:
pass
try: