2020-02-02 14:41:22 +01:00
|
|
|
# pylint: disable=C0111,R0903
|
|
|
|
|
|
|
|
"""Shows Linux kernel version information"""
|
|
|
|
|
|
|
|
import platform
|
|
|
|
|
|
|
|
import core.module
|
|
|
|
import core.widget
|
|
|
|
|
|
|
|
class Module(core.module.Module):
|
2020-02-03 21:30:06 +01:00
|
|
|
def __init__(self, config=None):
|
2020-03-06 14:31:08 +01:00
|
|
|
super().__init__(config, core.widget.Widget(self.full_text))
|
|
|
|
|
|
|
|
def full_text(self, widgets):
|
|
|
|
return platform.release()
|
2020-02-02 14:41:22 +01:00
|
|
|
|
|
|
|
# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4
|