Remove unused function hexify()
authorAndrew Gaffney <agaffney@gentoo.org>
Sun, 11 Jan 2009 21:59:37 +0000 (15:59 -0600)
committerAndrew Gaffney <agaffney@gentoo.org>
Sun, 11 Jan 2009 21:59:37 +0000 (15:59 -0600)
ChangeLog
modules/catalyst/support.py

index a695ae6a3ff106e755a0dc978d71d2b0e656abdd..415567aa904ee0e48946f68edaf3144158033984 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,10 @@
 # Copyright 2002-2009 Gentoo Foundation; 2008-2009 Various authors (see AUTHORS)
 # Distributed under the GPL v2
 
+  11 Jan 2009; Andrew Gaffney <agaffney@gentoo.org>
+  modules/catalyst/support.py:
+  Remove unused function hexify()
+
   11 Jan 2009; Andrew Gaffney <agaffney@gentoo.org>
   modules/catalyst/support.py, modules/catalyst/target/embedded.py,
   modules/catalyst/target/generic_stage.py, modules/catalyst/target/grp.py,
index 091c0a9c534c227dd941f95b6d606af941287395..b584a40847145df255c1d8c43daafdb4f4d2ff73 100644 (file)
@@ -54,17 +54,6 @@ def cleanup(pids,block_exceptions=True):
 
 
 
-# a function to turn a string of non-printable characters into a string of
-# hex characters
-def hexify(str):
-       hexStr = string.hexdigits
-       r = ''
-       for ch in str:
-               i = ord(ch)
-               r = r + hexStr[(i >> 4) & 0xF] + hexStr[i & 0xF]
-       return r
-# hexify()
-
 def generate_contents(file,contents_function="auto",verbose=False):
        try:
                _ = contents_function