2008/3/11, Lyu Abe <[EMAIL PROTECTED]>:
 I try to decode compressed timestamps. I tried to use the decompress
 function from the zlib module in mod python, but it does not seem to
 give satifactory results (undecipherable strings). Any hint?

Yes. Look at get_timestamps_decoded() in the source code of the Python
XML RPC proxy, especially the function __as_int_array() (lines
132-147):

 
http://www.linux-france.org/cgi-bin/hgwebdir.cgi/demexp/xmlrpc-proxy?f=2c37f5f19621;file=demexp-xmlrpc-proxy.py

Yes! :D

        Lyu


Yours,
d.





_______________________________________________
Demexp-dev mailing list
Demexp-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/demexp-dev

Répondre à