repaired stderr call
authorerickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Thu, 27 Dec 2007 21:05:52 +0000 (21:05 +0000)
committererickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Thu, 27 Dec 2007 21:05:52 +0000 (21:05 +0000)
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1186 9efc2488-bf62-4759-914b-345cdb29e865

src/python/osrf/log.py

index 0550523..f5fa558 100644 (file)
@@ -128,7 +128,7 @@ def __log_file(msg):
     try:
         logfile = open(LOG_FILE, 'a')
     except:
     try:
         logfile = open(LOG_FILE, 'a')
     except:
-        sys.stderr.write("cannot open log file for writing: %s\n", LOG_FILE)
+        sys.stderr.write("cannot open log file for writing: %s\n" % LOG_FILE)
         LOG_TYPE = OSRF_LOG_TYPE_STDERR
         return
     try:
         LOG_TYPE = OSRF_LOG_TYPE_STDERR
         return
     try: