From 48a82cbae661607bee8700ecb9e2771b2a67c268 Mon Sep 17 00:00:00 2001 From: Yoshinori Okuji <yo@nexedi.com> Date: Fri, 24 Nov 2006 06:21:06 +0000 Subject: [PATCH] Just an utility. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype2@19 71dcc9de-d417-0410-9af5-da40c76e7ee4 --- util.py | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 util.py diff --git a/util.py b/util.py new file mode 100644 index 00000000..0df5185a --- /dev/null +++ b/util.py @@ -0,0 +1,6 @@ +def dump(s): + ret = [] + for c in s: + ret.append('%02x' % ord(c)) + return ''.join(ret) + -- 2.30.9