/[rdiff-backup]/rdiff-backup/rdiff_backup/log.py
ViewVC logotype

Diff of /rdiff-backup/rdiff_backup/log.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.19 by bescoto, Mon Aug 8 02:22:10 2005 UTC revision 1.19.2.1 by bescoto, Sat Nov 12 05:40:01 2005 UTC
# Line 247  or within one second of each other.  Wai Line 247  or within one second of each other.  Wai
247    
248          def write_if_open(cls, error_type, rp, exc):          def write_if_open(cls, error_type, rp, exc):
249                  """Call cls.write(...) if error log open, only log otherwise"""                  """Call cls.write(...) if error log open, only log otherwise"""
250                  if not Globals.isbackup_writer:                  if not Globals.isbackup_writer and Globals.backup_writer:
251                          return Globals.backup_writer.log.ErrorLog.write_if_open(                          return Globals.backup_writer.log.ErrorLog.write_if_open(
252                                  error_type, rp, str(exc)) # convert exc bc of exc picking prob                                  error_type, rp, str(exc)) # convert exc bc of exc picking prob
253                  if cls.isopen(): cls.write(error_type, rp, exc)                  if cls.isopen(): cls.write(error_type, rp, exc)

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.19.2.1

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26