This commit is contained in:
Kovid Goyal 2006-12-19 04:05:49 +00:00
parent 6010e9b2ca
commit 64fd079f88

View File

@ -377,7 +377,8 @@ class PRS500Device(Device):
raise ProtocolError("Sending via Bulk Transfer failed with response:\n"\
+str(res))
if res.data_size != len(data):
raise ProtocolError("Unable to transfer all data to device. Response packet:\n"\
raise ProtocolError("Unable to transfer all data to device. "+\
"Response packet:\n"\
+str(res))