BIND 10 master, updated. 8b36f92a0e51a40702a2fa5db7eabe5344adfeaa [master] fix HOME error in bindctl_test
BIND 10 source code commits
bind10-changes at lists.isc.org
Tue Oct 30 14:32:29 UTC 2012
The branch, master has been updated
via 8b36f92a0e51a40702a2fa5db7eabe5344adfeaa (commit)
from fd51de64c1738d586791060e3855f414f3cdcdc7 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 8b36f92a0e51a40702a2fa5db7eabe5344adfeaa
Author: Jelte Jansen <jelte at isc.org>
Date: Tue Oct 30 15:32:00 2012 +0100
[master] fix HOME error in bindctl_test
discussed on jabber
-----------------------------------------------------------------------
Summary of changes:
src/bin/bindctl/tests/bindctl_test.py | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/bin/bindctl/tests/bindctl_test.py b/src/bin/bindctl/tests/bindctl_test.py
index f598472..b9af5c2 100644
--- a/src/bin/bindctl/tests/bindctl_test.py
+++ b/src/bin/bindctl/tests/bindctl_test.py
@@ -511,10 +511,7 @@ class TestBindCmdInterpreter(unittest.TestCase):
def test_csv_file_dir(self):
# Checking default value
- if "HOME" in os.environ:
- home_dir = os.environ["HOME"]
- else:
- home_dir = pwd.getpwnam(getpass.getuser()).pw_dir
+ home_dir = pwd.getpwnam(getpass.getuser()).pw_dir
self.assertEqual(home_dir + os.sep + '.bind10' + os.sep,
bindcmd.BindCmdInterpreter().csv_file_dir)
More information about the bind10-changes
mailing list