Mercurial > kallithea
comparison rhodecode/config/rcextensions/make_rcextensions.py @ 2268:6eaa2395a80e
small issue fixes
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Tue, 15 May 2012 23:07:59 +0200 |
parents | 30ab2e403a20 |
children | 5019f7798733 |
comparison
equal
deleted
inserted
replaced
2264:db7589b3fc82 | 2268:6eaa2395a80e |
---|---|
20 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 20 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
21 # GNU General Public License for more details. | 21 # GNU General Public License for more details. |
22 # | 22 # |
23 # You should have received a copy of the GNU General Public License | 23 # You should have received a copy of the GNU General Public License |
24 # along with this program. If not, see <http://www.gnu.org/licenses/>. | 24 # along with this program. If not, see <http://www.gnu.org/licenses/>. |
25 from __future__ import with_statement | |
26 | |
25 import os | 27 import os |
26 import sys | 28 import sys |
27 import pkg_resources | 29 import pkg_resources |
28 import traceback | 30 import traceback |
29 import logging | 31 import logging |
30 from __future__ import with_statement | |
31 from os.path import dirname as dn, join as jn | 32 from os.path import dirname as dn, join as jn |
32 | 33 |
33 #to get the rhodecode import | 34 #to get the rhodecode import |
34 sys.path.append(dn(dn(dn(os.path.realpath(__file__))))) | 35 sys.path.append(dn(dn(dn(os.path.realpath(__file__))))) |
35 | 36 |