Revision: 54
Author: jon.christopher
Date: Thu Dec 10 22:08:41 2009
Log: NSLog now uses %@ for unicode support
http://code.google.com/p/frontpython/source/detail?r=54
Modified:
/trunk/SDK/PyFR/Appliance.py
/trunk/SDK/PyFR/MenuController.py
/trunk/SDK/PyFR/Utilities.py
=======================================
--- /trunk/SDK/PyFR/Appliance.py Fri Nov 27 00:05:01 2009
+++ /trunk/SDK/PyFR/Appliance.py Thu Dec 10 22:08:41 2009
@@ -5,7 +5,7 @@
class Appliance( BRAppliance ):
# Logging.
def log(self,s):
- Foundation.NSLog( "%s: %s" % (self.__class__.__name__, str(s) ) )
+ Foundation.NSLog( "%@: %@", self.__class__.__name__, str(s) )
sanityCheck = False
=======================================
--- /trunk/SDK/PyFR/MenuController.py Fri Nov 27 00:05:01 2009
+++ /trunk/SDK/PyFR/MenuController.py Thu Dec 10 22:08:41 2009
@@ -8,7 +8,7 @@
import Foundation
def log(s):
- #Foundation.NSLog( "%s: %s" % ("PyFR", str(s) ) )
+ #Foundation.NSLog( "%s: %@", "PyFR", str(s) )
pass
=======================================
--- /trunk/SDK/PyFR/Utilities.py Sun Oct 26 22:20:58 2008
+++ /trunk/SDK/PyFR/Utilities.py Thu Dec 10 22:08:41 2009
@@ -22,7 +22,7 @@
# Logging.
def log(self, s):
- #Foundation.NSLog( "%s: %s" % (self.__class__.__name__, str(s) ) )
+ #Foundation.NSLog( "%@: %@", self.__class__.__name__, str(s) )
pass
def firedMethod_(self, senders):