[pypy-svn] r47072 - pypy/dist/pypy/module/rctime

fijal at codespeak.net fijal at codespeak.net
Mon Oct 1 14:02:04 CEST 2007


Author: fijal
Date: Mon Oct  1 14:02:04 2007
New Revision: 47072

Modified:
   pypy/dist/pypy/module/rctime/interp_time.py
Log:
uh. fix for stupid bug.


Modified: pypy/dist/pypy/module/rctime/interp_time.py
==============================================================================
--- pypy/dist/pypy/module/rctime/interp_time.py	(original)
+++ pypy/dist/pypy/module/rctime/interp_time.py	Mon Oct  1 14:02:04 2007
@@ -114,6 +114,7 @@
         t_ref[0] = tt
         p = c_localtime(t_ref)
         lltype.free(t_ref, flavor='raw')
+        tm_zone = rffi.charp2str(p.c_tm_zone)
         julyzone = -p.c_tm_gmtoff
         julyname = ["   ", tm_zone][bool(tm_zone)]
 



More information about the Pypy-commit mailing list