comparison rhodecode/config/rcextensions/make_rcextensions.py @ 2260:30ab2e403a20 beta

fix py2.5 compatibility for rcext
author Marcin Kuzminski <marcin@python-works.com>
date Sun, 13 May 2012 17:08:32 +0200
parents 8ecfed1d8f8b
children 6eaa2395a80e
comparison
equal deleted inserted replaced
2258:8a3a1a59a050 2260:30ab2e403a20
25 import os 25 import os
26 import sys 26 import sys
27 import pkg_resources 27 import pkg_resources
28 import traceback 28 import traceback
29 import logging 29 import logging
30 from __future__ import with_statement
30 from os.path import dirname as dn, join as jn 31 from os.path import dirname as dn, join as jn
31 32
32 #to get the rhodecode import 33 #to get the rhodecode import
33 sys.path.append(dn(dn(dn(os.path.realpath(__file__))))) 34 sys.path.append(dn(dn(dn(os.path.realpath(__file__)))))
34 35