comparison pylons_app/lib/utils.py @ 82:670713507d03

Moved summary to seperate controller, little cleanups in templates. added archives to summary
author Marcin Kuzminski <marcin@python-blog.com>
date Sun, 18 Apr 2010 00:31:58 +0200
parents
children aec4c0071cb3
comparison
equal deleted inserted replaced
81:c2f27b9b81bc 82:670713507d03
1
2 def get_repo_slug(request):
3 path_info = request.environ.get('PATH_INFO')
4 repo_name = path_info.split('/')[-2]
5 action = path_info.split('/')[-1]
6
7 return repo_name