[modules/traffic] fix docstring location
This commit is contained in:
parent
e6357f4c90
commit
547910611c
1 changed files with 8 additions and 6 deletions
|
@ -1,3 +1,11 @@
|
||||||
|
# pylint: disable=C0111,R0903
|
||||||
|
|
||||||
|
"""Displays network IO for interfaces.
|
||||||
|
|
||||||
|
Parameters:
|
||||||
|
* traffic.exclude: Comma-separated list of interface prefixes to exclude (defaults to "lo,virbr,docker,vboxnet,veth")
|
||||||
|
"""
|
||||||
|
|
||||||
import re
|
import re
|
||||||
import psutil
|
import psutil
|
||||||
import netifaces
|
import netifaces
|
||||||
|
@ -7,12 +15,6 @@ import bumblebee.input
|
||||||
import bumblebee.output
|
import bumblebee.output
|
||||||
import bumblebee.engine
|
import bumblebee.engine
|
||||||
|
|
||||||
"""Displays network IO for interfaces.
|
|
||||||
|
|
||||||
Parameters:
|
|
||||||
* traffic.exclude: Comma-separated list of interface prefixes to exclude (defaults to "lo,virbr,docker,vboxnet,veth")
|
|
||||||
"""
|
|
||||||
|
|
||||||
class Module(bumblebee.engine.Module):
|
class Module(bumblebee.engine.Module):
|
||||||
def __init__(self, engine, config):
|
def __init__(self, engine, config):
|
||||||
widgets = []
|
widgets = []
|
||||||
|
|
Loading…
Reference in a new issue