894
898
# To avoid having to disconnect repeatedly, we keep track of the
895
899
# fact the server doesn't understand remote methods added in 1.2.
896
900
medium._remote_is_at_least_1_2 = False
898
902
elif response[0][0] not in ['ok']:
899
903
reponse[1].cancel_read_body()
900
904
raise errors.UnexpectedSmartServerResponse(response[0])