Skip to content
This repository has been archived by the owner on Apr 16, 2019. It is now read-only.

Commit

Permalink
Parsing categories and tags should be more forgiving
Browse files Browse the repository at this point in the history
  • Loading branch information
EnigmaCurry committed Mar 3, 2009
1 parent 9ab166a commit 0bb2070
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions blogofile/post.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,11 @@ def __parse_yaml(self, yaml_src):
pass
try:
self.categories = set([x.strip() for x in y['categories'].split(",")])
except KeyError:
except:
pass
try:
self.tags = set([x.strip() for x in y['tags'].split(",")])
except KeyError:
except:
pass
try:
self.guid = y['guid']
Expand Down

0 comments on commit 0bb2070

Please sign in to comment.