mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 02:34:06 -04:00
Cleanup
This commit is contained in:
parent
a39de67fc0
commit
a1ce980d99
@ -222,7 +222,7 @@ class libiMobileDevice():
|
|||||||
|
|
||||||
return self.device_connected
|
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
|
High-level convenience method to copy src from local filesystem to
|
||||||
dst on iDevice.
|
dst on iDevice.
|
||||||
@ -246,7 +246,7 @@ class libiMobileDevice():
|
|||||||
if self.verbose:
|
if self.verbose:
|
||||||
self.log(" could not create copy")
|
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
|
High-level convenience method to copy from src on iDevice to
|
||||||
dst on local filesystem.
|
dst on local filesystem.
|
||||||
@ -372,7 +372,7 @@ class libiMobileDevice():
|
|||||||
self._instproxy_client_options_free()
|
self._instproxy_client_options_free()
|
||||||
self._instproxy_client_free()
|
self._instproxy_client_free()
|
||||||
|
|
||||||
def get_preferences(self, requested_items=[
|
def get_preferences(self, requested_items=(
|
||||||
'DeviceClass',
|
'DeviceClass',
|
||||||
'DeviceColor',
|
'DeviceColor',
|
||||||
'DeviceName',
|
'DeviceName',
|
||||||
@ -383,11 +383,10 @@ class libiMobileDevice():
|
|||||||
'ProductType',
|
'ProductType',
|
||||||
'ProductVersion',
|
'ProductVersion',
|
||||||
'SerialNumber',
|
'SerialNumber',
|
||||||
|
'TimeIntervalSince1970',
|
||||||
'TimeZone',
|
'TimeZone',
|
||||||
'TimeZoneOffsetFromUTC',
|
'TimeZoneOffsetFromUTC',
|
||||||
'UniqueDeviceID',
|
'UniqueDeviceID')):
|
||||||
'TimeIntervalSince1970',
|
|
||||||
]):
|
|
||||||
'''
|
'''
|
||||||
Get a partial list device-specific information
|
Get a partial list device-specific information
|
||||||
See _lockdown_get_value() for all known items
|
See _lockdown_get_value() for all known items
|
||||||
|
Loading…
x
Reference in New Issue
Block a user