# HG changeset patch # User Sylvain Thénault # Date 1287752514 -7200 # Node ID e10468a232916da6a55bcdcd65e4f28a0abe705d # Parent 4dad0ec0a44f17c3da09423e2b9fbb146b95122c# Parent 0fd8792c9c8a23a0fae08f0314d91d28ed67ed13 backport stable diff -r 4dad0ec0a44f -r e10468a23291 devtools/__init__.py --- a/devtools/__init__.py Fri Oct 22 14:54:24 2010 +0200 +++ b/devtools/__init__.py Fri Oct 22 15:01:54 2010 +0200 @@ -103,8 +103,8 @@ def __init__(self, appid, apphome=None, log_threshold=logging.CRITICAL+10): # must be set before calling parent __init__ if apphome is None: - if exists(self.appid): - apphome = abspath(self.appid) + if exists(appid): + apphome = abspath(appid) else: # cube test apphome = abspath('..') self._apphome = apphome