From 9149230159fc37c11514a52fad60d7f0487f9770 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Langa?= Date: Thu, 23 Sep 2010 19:16:47 +0200 Subject: [PATCH] dirty workaround for .pdbrc being read during regrtests --- pdbrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pdbrc b/pdbrc index cfe2a74..b3d3a1e 100644 --- a/pdbrc +++ b/pdbrc @@ -1,2 +1,2 @@ -import rlcompleter -pdb.Pdb.complete = rlcompleter.Completer(locals()).complete +import os, rlcompleter +if not os.environ.get('IN_REGRTEST'): pdb.Pdb.complete = rlcompleter.Completer(locals()).complete