From 899062c7a82cbb62d134900ad7fd45d4e76900bf Mon Sep 17 00:00:00 2001 From: cgroskopf Date: Mon, 20 Jun 2011 15:29:53 -0500 Subject: [PATCH] Fix bug with greenlets. --- ivs3 | 3 +++ setup.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ivs3 b/ivs3 index 6ccaf14..ed5432a 100755 --- a/ivs3 +++ b/ivs3 @@ -45,6 +45,9 @@ class IVS3(invar.InvarUtility): for key_name, absolute_path in self.find_file_paths(): pile.spawn(self.upload, key_name, absolute_path) + # Wait for all greenlets to finish + list(pile) + def find_file_paths(self): """ A generator function that recursively finds all files in the upload directory. diff --git a/setup.py b/setup.py index ec5042c..faf2d42 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ setup( name = "invar", - version = "0.0.10", + version = "0.0.11", description = "Scripts for generating tiles from Mapnik configuration.", author='Christopher Groskopf', author_email='staringmonkey@gmail.com',