From 6795c809e183310c2f387d5ea5b3ac4cb9d8a130 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sat, 12 Jun 2004 22:49:16 +0000 Subject: [PATCH] Version 0.1.1. Use log_error(). git-svn-id: file:///home/phd/archive/SVN/mc-extfs/trunk@4 1a6e6372-1aea-0310-bd00-dc960550e1df --- dummy | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/dummy b/dummy index 7970131..af8a1e9 100755 --- a/dummy +++ b/dummy @@ -9,19 +9,20 @@ License: GPL. """ -__version__ = "0.1.0" -__revision__ = "$Id: dummy,v 1.2 2004/06/12 22:42:29 phd Exp $" -__date__ = "$Date: 2004/06/12 22:42:29 $"[7:-2] +__version__ = "0.1.1" +__revision__ = "$Id: dummy,v 1.3 2004/06/12 22:49:16 phd Exp $" +__date__ = "$Date: 2004/06/12 22:49:16 $"[7:-2] __author__ = "Oleg Broytmann " __copyright__ = "Copyright (C) 2004 PhiloSoft Design" + import sys def log_error(msg): sys.stderr.write(msg + '\n') def error(msg): - sys.stderr.write(msg + '\n') + log_error(msg + '\n') sys.exit(1) -- 2.39.5