[svn] commit: r2320 - /branches/trac127/src/bin/cmdctl/cmdctl.py.in

BIND 10 source code commits bind10-changes at lists.isc.org
Tue Jun 29 03:00:31 UTC 2010


Author: zhanglikun
Date: Tue Jun 29 03:00:31 2010
New Revision: 2320

Log:
Make the error message more readable when cmdctl fails to read user information.

Modified:
    branches/trac127/src/bin/cmdctl/cmdctl.py.in

Modified: branches/trac127/src/bin/cmdctl/cmdctl.py.in
==============================================================================
--- branches/trac127/src/bin/cmdctl/cmdctl.py.in (original)
+++ branches/trac127/src/bin/cmdctl/cmdctl.py.in Tue Jun 29 03:00:31 2010
@@ -465,7 +465,7 @@
                 for row in reader:
                     self._user_infos[row[0]] = [row[1], row[2]]
             except (IOError, IndexError) as e:
-                self.log_info("Fail to read user database:'%s'\n" % e)                
+                self.log_info("Fail to read user database, %s" % e)                
             finally:
                 if csvfile:
                     csvfile.close()




More information about the bind10-changes mailing list