Mercurial > kallithea
diff rhodecode/lib/middleware/simplegit.py @ 3889:b84c83b651de beta
replace equality comparision to None
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Wed, 22 May 2013 03:15:44 +0200 |
parents | 972ad33c5610 |
children | f5a1314886ec |
line wrap: on
line diff
--- a/rhodecode/lib/middleware/simplegit.py Wed May 22 03:14:03 2013 +0200 +++ b/rhodecode/lib/middleware/simplegit.py Wed May 22 03:15:44 2013 +0200 @@ -97,7 +97,7 @@ path_info = environ['PATH_INFO'] isgit_path = GIT_PROTO_PAT.match(path_info) log.debug('pathinfo: %s detected as GIT %s' % ( - path_info, isgit_path != None) + path_info, isgit_path is not None) ) return isgit_path