Minor removal of redundant code

This commit is contained in:
Miroslav Stampar
2013-01-18 10:44:57 +01:00
parent 1599b5e37f
commit caae773b2d
2 changed files with 2 additions and 10 deletions

View File

@@ -768,13 +768,6 @@ def dataToOutFile(filename, data):
return retVal
def strToHex(value):
"""
Converts string value to it's hexadecimal representation
"""
return (value if not isinstance(value, unicode) else value.encode(UNICODE_ENCODING)).encode("hex").upper()
def readInput(message, default=None, checkBatch=True):
"""
Reads input from terminal