view tests/__init__.py @ 586:704d2ce1d906

editor: fix open_file() on replaced branch The mercurial parent revision was the replacing branch revision not the replaced one.
author Patrick Mezard <pmezard@gmail.com>
date Tue, 02 Mar 2010 17:06:06 +0100
parents 537de0300510
children
line wrap: on
line source

import imp, os, sys

sys.path.insert(0, os.path.dirname(os.path.dirname(__file__)))