[core] Remove alias from module
Hide alias concept for modules in the engine. That way, the individual modules never get to know about whether a module has been aliased or not. see #23
This commit is contained in:
parent
f306366629
commit
2f3f171ca5
21 changed files with 48 additions and 45 deletions
|
@ -9,8 +9,8 @@ def parameters():
|
|||
return [ "battery.device: The device to read from (defaults to BAT0)" ]
|
||||
|
||||
class Module(bumblebee.module.Module):
|
||||
def __init__(self, output, config, alias):
|
||||
super(Module, self).__init__(output, config, alias)
|
||||
def __init__(self, output, config):
|
||||
super(Module, self).__init__(output, config)
|
||||
self._battery = config.parameter("device", "BAT0")
|
||||
self._capacity = 100
|
||||
self._status = "Unknown"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue