# HG changeset patch # User jhammel # Date 1351262788 0 # Node ID 31898fb3b7d99123960c9e7cde9d6817570337b5 # Parent fc5b842de4e91bb7a5f0a7d31a0ee8960fec80d1 better error message diff -r fc5b842de4e9 -r 31898fb3b7d9 dogdish/dispatcher.py --- a/dogdish/dispatcher.py Wed Oct 17 14:59:49 2012 -0700 +++ b/dogdish/dispatcher.py Fri Oct 26 14:46:28 2012 +0000 @@ -166,7 +166,7 @@ # scan directory self.scan() - assert self.current_update # ensure there is at least one update + assert self.current_update, "No updates found in %s" % self.directory def __call__(self, environ, start_response): """WSGI application"""