ooo-build r11471 - in trunk: . scratch/sc-xlsutil/src



Author: kyoshida
Date: Wed Jan 30 19:11:31 2008
New Revision: 11471
URL: http://svn.gnome.org/viewvc/ooo-build?rev=11471&view=rev

Log:
2008-01-30  Kohei Yoshida  <kyoshida novell com>

	* scratch/sc-xlsutil/src/record.py: ignore exceptions.


Modified:
   trunk/ChangeLog
   trunk/scratch/sc-xlsutil/src/record.py

Modified: trunk/scratch/sc-xlsutil/src/record.py
==============================================================================
--- trunk/scratch/sc-xlsutil/src/record.py	(original)
+++ trunk/scratch/sc-xlsutil/src/record.py	Wed Jan 30 19:11:31 2008
@@ -52,12 +52,16 @@
         fileHistoryFlags = globals.getRawBytes(self.bytes[8:12])
         lowestExcelVer = globals.getSignedInt(self.bytes[12:16])
 
-        self.appendLine("BIFF version: " + ver)
-        self.appendLine("build ID: %d"%buildID)
-        self.appendLine("build year: %d"%buildYear)
-        self.appendLine("type: %s"%BOF.Type[dataType])
-        self.appendLine("file history flags: " + fileHistoryFlags)
-        self.appendLine("lowest Excel version: %d"%lowestExcelVer)
+        try:
+            self.appendLine("BIFF version: " + ver)
+            self.appendLine("build ID: %d"%buildID)
+            self.appendLine("build year: %d"%buildYear)
+            self.appendLine("type: %s"%BOF.Type[dataType])
+            self.appendLine("file history flags: " + fileHistoryFlags)
+            self.appendLine("lowest Excel version: %d"%lowestExcelVer)
+        except:
+            pass
+
 
 
 class Formula(BaseRecordHandler):



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]