sugar-toolkit-gtk3/shell/model/devices/device.py

12 lines
211 B
Python
Raw Normal View History

from sugar import util
class Device(object):
def __init__(self):
self._id = util.unique_id()
def get_type(self):
return 'unknown'
def get_id(self):
return self._id