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



Author: kyoshida
Date: Tue Jan 22 16:26:23 2008
New Revision: 11362
URL: http://svn.gnome.org/viewvc/ooo-build?rev=11362&view=rev

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

	* scratch/sc-xlsutil/src/globals.py: added to store global functions.


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

Added: trunk/scratch/sc-xlsutil/src/globals.py
==============================================================================
--- (empty file)
+++ trunk/scratch/sc-xlsutil/src/globals.py	Tue Jan 22 16:26:23 2008
@@ -0,0 +1,14 @@
+
+import sys
+
+def output (msg):
+    sys.stdout.write(msg)
+
+def dumpBytes (chars):
+    for i in xrange(0, len(chars)):
+        byte = ord(chars[i])
+        output("%2.2X "%byte)
+        if (i+1)%16 == 0:
+            output("\n")
+    output("\n")
+



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