diff --git a/TileStache/S3.py b/TileStache/S3.py index 8402e5e8..fb55b342 100644 --- a/TileStache/S3.py +++ b/TileStache/S3.py @@ -63,7 +63,7 @@ def lock(self, layer, coord, format): """ Acquire a cache lock for this tile. Returns nothing, but blocks until the lock has been acquired. - Does nothing and returns immediately is `use_locks` is false. + Does nothing and returns immediately if `use_locks` is false. """ if not self.use_locks: return diff --git a/scripts/tilestache-compose.py b/scripts/tilestache-compose.py index 1cadd400..88d64cbc 100644 --- a/scripts/tilestache-compose.py +++ b/scripts/tilestache-compose.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python from sys import stderr, path from tempfile import mkstemp from thread import allocate_lock