Mercurial > public > src > rhodecode
diff pylons_app/lib/helpers.py @ 265:0e5455fda8fd
Implemented basic repository managment. Implemented repo2db mappings, model, helpers updates and code cleanups
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Mon, 07 Jun 2010 00:18:33 +0200 |
parents | 6ada8c223374 |
children | ed7abf925696 |
line wrap: on
line diff
--- a/pylons_app/lib/helpers.py Sun Jun 06 23:35:21 2010 +0200 +++ b/pylons_app/lib/helpers.py Mon Jun 07 00:18:33 2010 +0200 @@ -114,11 +114,9 @@ Return slug of name of repository """ slug = urlify(value) - for c in """=[]\;',/~!@#$%^&*()+{}|:""": + for c in """=[]\;'"<>,/~!@#$%^&*()+{}|:""": slug = slug.replace(c, '-') - print slug slug = recursive_replace(slug, '-') - print slug return slug files_breadcrumbs = _FilesBreadCrumbs()