git.ucc.asn.au
/
planet-ucc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
081de18
)
Fixed bug to do with Nonetypes
author
davyd
<davyd>
Mon, 9 Feb 2004 13:31:55 +0000
(13:31 +0000)
committer
davyd
<davyd>
Mon, 9 Feb 2004 13:31:55 +0000
(13:31 +0000)
XMLParse2.py
patch
|
blob
|
history
diff --git
a/XMLParse2.py
b/XMLParse2.py
index
689fecb
..
e338580
100644
(file)
--- a/
XMLParse2.py
+++ b/
XMLParse2.py
@@
-38,7
+38,7
@@
class XMLParse:
def parse(self):
"Return a single Blog object"
item = Blog()
- if self.blogObject:
+ if self.blogObject
and self.blogObject.cache
:
sys.stdout.write('Downloading feed %s...' % self.feedURL)
try:
data = feedparser.parse(self.feedURL, self.blogObject.cache.etag, self.blogObject.cache.date)
UCC
git Repository :: git.ucc.asn.au