Skip to content
Browse files

Fixed PostRegenerator to put post object in case of changes

  • Loading branch information...
1 parent c972354 commit 4acee4816ab3c8be1d105f3892e736ff91129fa6 Nicholas Johnson committed Oct 19, 2009
Showing with 1 addition and 0 deletions.
  1. +1 −0
@@ -93,6 +93,7 @@ def regenerate(self, batch_size=50, start_key=None):
logging.warn((generator_class.__name__, dep))
self.seen.add((generator_class.__name__, dep))
deferred.defer(generator_class.generate_resource, None, dep)
+ post.put()
if len(posts) == batch_size:
deferred.defer(self.regenerate, batch_size, posts[-1].key())

0 comments on commit 4acee48

Please sign in to comment.
Something went wrong with that request. Please try again.