projects
/
feedingit
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
9f5596a
)
Change addImage to not throw an exception but return None on failure.
author
Neal H. Walfield
<neal@walfield.org>
Wed, 14 Sep 2011 12:31:38 +0000
(14:31 +0200)
committer
Neal H. Walfield
<neal@walfield.org>
Wed, 14 Sep 2011 12:31:38 +0000
(14:31 +0200)
src/rss_sqlite.py
patch
|
blob
|
history
diff --git
a/src/rss_sqlite.py
b/src/rss_sqlite.py
index
2e96225
..
253ed85
100644
(file)
--- a/
src/rss_sqlite.py
+++ b/
src/rss_sqlite.py
@@
-264,7
+264,7
@@
class Feed(BaseObject):
except OSError:
pass
- raise exception
+ return None
else:
#open(filename,"a").close() # "Touch" the file
file = open(filename,"a")