From f9ecc9e456d632b71262e9246824c7752440422a Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Tue, 29 Nov 2005 18:31:45 +0000 Subject: [PATCH] fix typo --- src/common/logger.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/common/logger.py b/src/common/logger.py index 7f3a86d55..78e073f68 100644 --- a/src/common/logger.py +++ b/src/common/logger.py @@ -146,7 +146,7 @@ class Logger: try: con.commit() except sqlite.OperationalError, e: - print >> sys.sterr, str(e) + print >> sys.stderr, str(e) jid_id = cur.lastrowid self.jids_already_in.append(jid) return jid_id @@ -195,7 +195,7 @@ class Logger: try: con.commit() except sqlite.OperationalError, e: - print >> sys.sterr, str(e) + print >> sys.stderr, str(e) def write(self, kind, jid, message = None, show = None, tim = None, subject = None): '''write a row (status, gcstatus, message etc) to logs database @@ -226,7 +226,6 @@ class Logger: else: time_col = int(float(time.time())) - kind_col, show_col = self.convert_human_values_to_db_api_values(kind, show)