From 43908fd1cf9956109522e977ea4de04a3bb2120e Mon Sep 17 00:00:00 2001 From: GRiker Date: Sat, 21 Sep 2013 08:55:54 -0700 Subject: [PATCH] Fixed three typos referencing a renamed method self.afc_error --- src/calibre/devices/idevice/libimobiledevice.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/calibre/devices/idevice/libimobiledevice.py b/src/calibre/devices/idevice/libimobiledevice.py index 4a2b26239b..213d7f9699 100644 --- a/src/calibre/devices/idevice/libimobiledevice.py +++ b/src/calibre/devices/idevice/libimobiledevice.py @@ -587,7 +587,7 @@ class libiMobileDevice(): str(from_name), str(to_name)) if error: - self._log(" ERROR: %s" % self.afc_error(error)) + self._log(" ERROR: %s" % self._afc_error(error)) def remove(self, path): ''' @@ -601,7 +601,7 @@ class libiMobileDevice(): error = self.lib.afc_remove_path(byref(self.afc), str(path)) if error: - self._log(" ERROR: %s" % self.afc_error(error)) + self._log(" ERROR: %s" % self._afc_error(error)) def stat(self, path): ''' @@ -650,7 +650,7 @@ class libiMobileDevice(): error = self.lib.afc_client_free(byref(self.afc)) & 0xFFFF if error: - self._log(" ERROR: %s" % self.afc_error(error)) + self._log(" ERROR: %s" % self._afc_error(error)) def _afc_client_new(self): '''