Created
October 6, 2011 23:43
-
-
Save jasonbaker/1269031 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
parentHash = unicode(hash(richResult)) | |
# If for whatever reason we don't have a proper parentHash, we'll | |
# try to salvage the original (raw) item and bail out | |
if not parentHash: | |
logResult(item.rawItem) | |
yield item.rawItem | |
return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment