[Lldb-commits] [lldb] r151928 - /lldb/trunk/examples/summaries/cocoa/NSDate.py
Enrico Granata
egranata at apple.com
Fri Mar 2 10:35:06 PST 2012
Author: enrico
Date: Fri Mar 2 12:35:06 2012
New Revision: 151928
URL: http://llvm.org/viewvc/llvm-project?rev=151928&view=rev
Log:
Removing a spurious print statement leftover from debugging the formatter code
Modified:
lldb/trunk/examples/summaries/cocoa/NSDate.py
Modified: lldb/trunk/examples/summaries/cocoa/NSDate.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/examples/summaries/cocoa/NSDate.py?rev=151928&r1=151927&r2=151928&view=diff
==============================================================================
--- lldb/trunk/examples/summaries/cocoa/NSDate.py (original)
+++ lldb/trunk/examples/summaries/cocoa/NSDate.py Fri Mar 2 12:35:06 2012
@@ -68,7 +68,6 @@
# unfortunately, it is made as a time-delta after Jan 1 2001 midnight GMT
# while all Python knows about is the "epoch", which is a platform-dependent
# year (1970 of *nix) whose Jan 1 at midnight is taken as reference
- print hex(self.data)
value_double = struct.unpack('d', struct.pack('Q', self.data))[0]
return time.ctime(osx_to_python_time(value_double))
More information about the lldb-commits
mailing list