mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-27 03:44:45 +01:00
Cleanup
This commit is contained in:
parent
a39de67fc0
commit
a1ce980d99
1 changed files with 17 additions and 18 deletions
|
|
@ -222,7 +222,7 @@ def connect_idevice(self):
|
|||
|
||||
return self.device_connected
|
||||
|
||||
def copy_to_iDevice(self, src, dst):
|
||||
def copy_to_idevice(self, src, dst):
|
||||
'''
|
||||
High-level convenience method to copy src from local filesystem to
|
||||
dst on iDevice.
|
||||
|
|
@ -246,7 +246,7 @@ def copy_to_iDevice(self, src, dst):
|
|||
if self.verbose:
|
||||
self.log(" could not create copy")
|
||||
|
||||
def copy_from_iDevice(self, src, dst):
|
||||
def copy_from_idevice(self, src, dst):
|
||||
'''
|
||||
High-level convenience method to copy from src on iDevice to
|
||||
dst on local filesystem.
|
||||
|
|
@ -372,22 +372,21 @@ def get_installed_apps(self, applist):
|
|||
self._instproxy_client_options_free()
|
||||
self._instproxy_client_free()
|
||||
|
||||
def get_preferences(self, requested_items=[
|
||||
'DeviceClass',
|
||||
'DeviceColor',
|
||||
'DeviceName',
|
||||
'FirmwareVersion',
|
||||
'HardwareModel',
|
||||
'ModelNumber',
|
||||
'PasswordProtected',
|
||||
'ProductType',
|
||||
'ProductVersion',
|
||||
'SerialNumber',
|
||||
'TimeZone',
|
||||
'TimeZoneOffsetFromUTC',
|
||||
'UniqueDeviceID',
|
||||
'TimeIntervalSince1970',
|
||||
]):
|
||||
def get_preferences(self, requested_items=(
|
||||
'DeviceClass',
|
||||
'DeviceColor',
|
||||
'DeviceName',
|
||||
'FirmwareVersion',
|
||||
'HardwareModel',
|
||||
'ModelNumber',
|
||||
'PasswordProtected',
|
||||
'ProductType',
|
||||
'ProductVersion',
|
||||
'SerialNumber',
|
||||
'TimeIntervalSince1970',
|
||||
'TimeZone',
|
||||
'TimeZoneOffsetFromUTC',
|
||||
'UniqueDeviceID')):
|
||||
'''
|
||||
Get a partial list device-specific information
|
||||
See _lockdown_get_value() for all known items
|
||||
|
|
|
|||
Loading…
Reference in a new issue