12 lines
211 B
Python
12 lines
211 B
Python
|
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
|