Mercurial > bitten > bitten-test
changeset 817:151e1ddf9e67 0.6.x
0.6dev: Merged[894] from trunk.
author | dfraser |
---|---|
date | Thu, 16 Sep 2010 08:52:26 +0000 |
parents | f11701cd8b8e |
children | 8a2f0c474d0d |
files | bitten/report/coverage.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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)