handle scsi mode sense to get umass working under linux
[goodfet] / client / util.py
1 # util.py
2 #
3 # Random helpful functions.
4
5 def bytes_as_hex(b, delim=" "):
6     return delim.join(["%02x" % x for x in b])
7