Merge pull request #95 from GRiker/master

Fixed three typos referencing a renamed method self.afc_error
This commit is contained in:
Kovid Goyal 2013-09-21 09:56:40 -07:00
commit bbced250d5

View File

@ -587,7 +587,7 @@ class libiMobileDevice():
str(from_name), str(from_name),
str(to_name)) str(to_name))
if error: if error:
self._log(" ERROR: %s" % self.afc_error(error)) self._log(" ERROR: %s" % self._afc_error(error))
def remove(self, path): def remove(self, path):
''' '''
@ -601,7 +601,7 @@ class libiMobileDevice():
error = self.lib.afc_remove_path(byref(self.afc), str(path)) error = self.lib.afc_remove_path(byref(self.afc), str(path))
if error: if error:
self._log(" ERROR: %s" % self.afc_error(error)) self._log(" ERROR: %s" % self._afc_error(error))
def stat(self, path): def stat(self, path):
''' '''
@ -650,7 +650,7 @@ class libiMobileDevice():
error = self.lib.afc_client_free(byref(self.afc)) & 0xFFFF error = self.lib.afc_client_free(byref(self.afc)) & 0xFFFF
if error: if error:
self._log(" ERROR: %s" % self.afc_error(error)) self._log(" ERROR: %s" % self._afc_error(error))
def _afc_client_new(self): def _afc_client_new(self):
''' '''