mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Merge pull request #95 from GRiker/master
Fixed three typos referencing a renamed method self.afc_error
This commit is contained in:
commit
bbced250d5
@ -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):
|
||||||
'''
|
'''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user