Mercurial > kallithea
comparison rhodecode/lib/middleware/pygrack.py @ 3840:dc4644865e8b beta
Implemented simple gist functionality ref #530.
- creation of public/private gists with given lifetime
- rhodecode-gist CLI for quick gist creation
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sat, 11 May 2013 20:24:02 +0200 |
parents | d7488551578e |
children | ffd45b185016 |
comparison
equal
deleted
inserted
replaced
3839:9dec870411e0 | 3840:dc4644865e8b |
---|---|
57 def _get_fixedpath(self, path): | 57 def _get_fixedpath(self, path): |
58 """ | 58 """ |
59 Small fix for repo_path | 59 Small fix for repo_path |
60 | 60 |
61 :param path: | 61 :param path: |
62 :type path: | |
63 """ | 62 """ |
64 return path.split(self.repo_name, 1)[-1].strip('/') | 63 return path.split(self.repo_name, 1)[-1].strip('/') |
65 | 64 |
66 def inforefs(self, request, environ): | 65 def inforefs(self, request, environ): |
67 """ | 66 """ |