Mercurial > kallithea
view pylons_app/lib/utils.py @ 94:0bb9391bc287
webhelpers update
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sat, 24 Apr 2010 16:52:34 +0200 |
parents | aec4c0071cb3 |
children | f24b9a2934cf |
line wrap: on
line source
def get_repo_slug(request): path_info = request.environ.get('PATH_INFO') uri_lst = path_info.split('/') print uri_lst print 'len', len(uri_lst) repo_name = uri_lst[1] return repo_name