[Box Backup-commit] COMMIT r2352 - box/trunk/contrib/bbreporter

boxbackup-dev at boxbackup.org boxbackup-dev at boxbackup.org
Mon Oct 13 15:39:02 BST 2008


Author: cbkm
Date: 2008-10-13 15:39:01 +0100 (Mon, 13 Oct 2008)
New Revision: 2352

Modified:
   box/trunk/contrib/bbreporter/bbreporter.py
Log:
- fix issue with log format change, but stay backwards compatible.


Modified: box/trunk/contrib/bbreporter/bbreporter.py
===================================================================
--- box/trunk/contrib/bbreporter/bbreporter.py	2008-10-11 22:52:55 UTC (rev 2351)
+++ box/trunk/contrib/bbreporter/bbreporter.py	2008-10-13 14:39:01 UTC (rev 2352)
@@ -98,7 +98,7 @@
         # Regex's
         self.re_automatic_backup = re.compile(" *AutomaticBackup *= *no", re.I)
         self.re_syslog = re.compile("(\S+) +(\S+) +([\d:]+) +(\S+) +([^:]+): +"+
-                                    "([^:]+): *(.*)") 
+                                    "(?:[A-Z]+:)? *([^:]+): *(.*)") 
         
         # Initialise report
         self.reset()




More information about the Boxbackup-commit mailing list