# HG changeset patch # User dfraser # Date 1284627146 0 # Node ID 151e1ddf9e6773bc34292138a584820ad9703906 # Parent f11701cd8b8ee4b545f3ab866ba78389eeafe663 0.6dev: Merged[894] from trunk. diff --git a/bitten/report/coverage.py b/bitten/report/coverage.py --- a/bitten/report/coverage.py +++ b/bitten/report/coverage.py @@ -210,8 +210,8 @@ # attempt to use the version passed in with the request, # otherwise fall back to the latest version of this file. try: - version = int(context.req.args['rev']) - except (KeyError, TypeError): + version = context.req.args['rev'] + except KeyError: version = resource.version builds = Build.select(self.env, rev=version)