functions: Remove unused imports
This commit is contained in:
parent
87f0f99bb5
commit
422f14b0be
18 changed files with 0 additions and 68 deletions
|
|
@ -1,7 +1,5 @@
|
|||
import os
|
||||
import tuned.logs
|
||||
from . import base
|
||||
from tuned.utils.commands import commands
|
||||
from tuned.profiles.exceptions import InvalidProfileException
|
||||
|
||||
log = tuned.logs.get()
|
||||
|
|
|
|||
|
|
@ -1,7 +1,5 @@
|
|||
import os
|
||||
import tuned.logs
|
||||
from . import base
|
||||
from tuned.utils.commands import commands
|
||||
from tuned.profiles.exceptions import InvalidProfileException
|
||||
|
||||
log = tuned.logs.get()
|
||||
|
|
|
|||
|
|
@ -1,9 +1,6 @@
|
|||
import re
|
||||
import tuned.logs
|
||||
from . import base
|
||||
|
||||
log = tuned.logs.get()
|
||||
|
||||
class CPUInfoCheck(base.Function):
|
||||
"""
|
||||
Checks regexes against the content of `/proc/cpuinfo`.
|
||||
|
|
|
|||
|
|
@ -1,8 +1,5 @@
|
|||
import tuned.logs
|
||||
from . import base
|
||||
|
||||
log = tuned.logs.get()
|
||||
|
||||
class CPUList2Devs(base.Function):
|
||||
"""
|
||||
Converts a CPU list into a comma-separated list of device names.
|
||||
|
|
|
|||
|
|
@ -1,9 +1,4 @@
|
|||
import os
|
||||
import tuned.logs
|
||||
from . import base
|
||||
from tuned.utils.commands import commands
|
||||
|
||||
log = tuned.logs.get()
|
||||
|
||||
class CPUList2Hex(base.Function):
|
||||
"""
|
||||
|
|
|
|||
|
|
@ -1,9 +1,4 @@
|
|||
import os
|
||||
import tuned.logs
|
||||
from . import base
|
||||
from tuned.utils.commands import commands
|
||||
|
||||
log = tuned.logs.get()
|
||||
|
||||
class CPUList2HexInvert(base.Function):
|
||||
"""
|
||||
|
|
|
|||
|
|
@ -1,9 +1,4 @@
|
|||
import os
|
||||
import tuned.logs
|
||||
from . import base
|
||||
from tuned.utils.commands import commands
|
||||
|
||||
log = tuned.logs.get()
|
||||
|
||||
class CPUListInvert(base.Function):
|
||||
"""
|
||||
|
|
|
|||
|
|
@ -1,9 +1,4 @@
|
|||
import os
|
||||
import tuned.logs
|
||||
from . import base
|
||||
from tuned.utils.commands import commands
|
||||
|
||||
log = tuned.logs.get()
|
||||
|
||||
class CPUListOnline(base.Function):
|
||||
"""
|
||||
|
|
|
|||
|
|
@ -1,9 +1,4 @@
|
|||
import os
|
||||
import tuned.logs
|
||||
from . import base
|
||||
from tuned.utils.commands import commands
|
||||
|
||||
log = tuned.logs.get()
|
||||
|
||||
class CPUListPack(base.Function):
|
||||
"""
|
||||
|
|
|
|||
|
|
@ -1,9 +1,4 @@
|
|||
import os
|
||||
import tuned.logs
|
||||
from . import base
|
||||
from tuned.utils.commands import commands
|
||||
|
||||
log = tuned.logs.get()
|
||||
|
||||
class CPUListPresent(base.Function):
|
||||
"""
|
||||
|
|
|
|||
|
|
@ -1,9 +1,4 @@
|
|||
import os
|
||||
import tuned.logs
|
||||
from . import base
|
||||
from tuned.utils.commands import commands
|
||||
|
||||
log = tuned.logs.get()
|
||||
|
||||
class CPUListUnpack(base.Function):
|
||||
"""
|
||||
|
|
|
|||
|
|
@ -1,7 +1,4 @@
|
|||
import os
|
||||
import tuned.logs
|
||||
from . import base
|
||||
from tuned.utils.commands import commands
|
||||
|
||||
class Exec(base.Function):
|
||||
"""
|
||||
|
|
|
|||
|
|
@ -1,9 +1,4 @@
|
|||
import os
|
||||
import tuned.logs
|
||||
from . import base
|
||||
from tuned.utils.commands import commands
|
||||
|
||||
log = tuned.logs.get()
|
||||
|
||||
class Hex2CPUList(base.Function):
|
||||
"""
|
||||
|
|
|
|||
|
|
@ -1,7 +1,4 @@
|
|||
import os
|
||||
import tuned.logs
|
||||
from . import base
|
||||
from tuned.utils.commands import commands
|
||||
|
||||
class KB2S(base.Function):
|
||||
"""
|
||||
|
|
|
|||
|
|
@ -1,9 +1,6 @@
|
|||
import re
|
||||
import tuned.logs
|
||||
from . import base
|
||||
|
||||
log = tuned.logs.get()
|
||||
|
||||
class LSCPUCheck(base.Function):
|
||||
"""
|
||||
Checks regexes against the output of `lscpu`.
|
||||
|
|
|
|||
|
|
@ -1,7 +1,4 @@
|
|||
import os
|
||||
import tuned.logs
|
||||
from . import base
|
||||
from tuned.utils.commands import commands
|
||||
|
||||
class S2KB(base.Function):
|
||||
"""
|
||||
|
|
|
|||
|
|
@ -1,7 +1,4 @@
|
|||
import os
|
||||
import tuned.logs
|
||||
from . import base
|
||||
from tuned.utils.commands import commands
|
||||
|
||||
class Strip(base.Function):
|
||||
"""
|
||||
|
|
|
|||
|
|
@ -1,7 +1,4 @@
|
|||
import os
|
||||
import tuned.logs
|
||||
from . import base
|
||||
from tuned.utils.commands import commands
|
||||
|
||||
class VirtCheck(base.Function):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Reference in a new issue