summaryrefslogtreecommitdiff
path: root/nose/config.py
diff options
context:
space:
mode:
authorJason Pellerin <jpellerin@gmail.com>2007-06-26 19:46:25 +0000
committerJason Pellerin <jpellerin@gmail.com>2007-06-26 19:46:25 +0000
commit3791584beab94fcd711c108a737c06600771a1fb (patch)
tree6a098aa905268bc52432c6750fa00fe7abbe2dc3 /nose/config.py
parentce6fa07a856657326a29876719ed909b8229689d (diff)
downloadnose-3791584beab94fcd711c108a737c06600771a1fb.tar.gz
More work on doc generation
Diffstat (limited to 'nose/config.py')
-rw-r--r--nose/config.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/nose/config.py b/nose/config.py
index 38ad074..3d7a9b3 100644
--- a/nose/config.py
+++ b/nose/config.py
@@ -98,7 +98,9 @@ class Config(object):
# self._working_dir = None
def __repr__(self):
- d = self.__dict__
+ d = self.__dict__.copy()
+ # don't expose env, could include sensitive info
+ d['env'] = {}
keys = [ k for k in d.keys()
if not k.startswith('_') ]
keys.sort()