"""
__version__ = "1.2.1"
-__revision__ = "$Id: obexftp,v 1.18 2004/10/03 13:33:03 phd Exp $"
-__date__ = "$Date: 2004/10/03 13:33:03 $"[7:-2]
+__revision__ = "$Id: obexftp,v 1.19 2004/10/03 15:02:45 phd Exp $"
+__date__ = "$Date: 2004/10/03 15:02:45 $"[7:-2]
__author__ = "Oleg Broytmann <phd@phd.pp.ru>"
__copyright__ = "Copyright (C) 2004 PhiloSoft Design"
if len(sys.argv) < 3:
- logger.error("""\
+ logger.critical("""\
ObexFTP Virtual FileSystem for Midnight Commander version %s
Author: %s
%s
break
if not found:
- logger.error("Cannot initialize error log file in directories %s" % str(tempdirlist))
+ logger.critical("Cannot initialize error log file in directories %s" % str(tempdirlist))
sys.exit(1)
logger.removeHandler(log_err_handler)
def transport_error(error_str):
- logger.error("Error parsing the transport file: %s" % error_str)
+ logger.critical("Error parsing the transport file: %s" % error_str)
sys.exit(1)
def setup_transport():
transport_error("too many arguments for 'irda' transport")
return "-i"
else:
- logger.error("Unknown transport '%s'; expected 'bluetooth', 'tty' or 'irda'", transport)
+ logger.critical("Unknown transport '%s'; expected 'bluetooth', 'tty' or 'irda'", transport)
sys.exit(1)
g = globals()
if not g.has_key(procname):
- logger.error("Unknown command %s", command)
+ logger.critical("Unknown command %s", command)
sys.exit(1)