Changeset 1797
- Timestamp:
- 02/22/07 01:49:03 (22 months ago)
- Files:
-
- 1 modified
-
plugins/moto-sync/motosync.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
plugins/moto-sync/motosync.py
r1796 r1797 1848 1848 def discover(info): 1849 1849 """Called by python-module wrapper, discovers capabilities of device.""" 1850 version = opensync.Version() 1851 version.plugin = "moto-sync" 1850 1852 # HACK HACK, grab the comms object out of the initialised sink 1851 1853 comms = info.nth_objtype(0).callback_obj.access.comms 1852 1854 comms.connect() 1853 version = opensync.Version()1854 version.plugin = "moto-sync"1855 1855 version.softwareversion = str(comms.read_version()) 1856 1856 version.modelversion = str(comms.read_model()) 1857 version.identifier = str(comms.read_serial())1858 1857 comms.disconnect() 1859 1858 info.version = version
