mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-11-17 07:48:18 +01:00
Update for docstrings
This commit is contained in:
parent
832e669082
commit
1942bfc2d5
1 changed files with 5 additions and 2 deletions
|
@ -6,8 +6,9 @@ from slpkg.utilities import Utilities
|
||||||
from slpkg.views.views import View
|
from slpkg.views.views import View
|
||||||
|
|
||||||
|
|
||||||
class Cleanings(Configs):
|
class Cleanings(Configs): # pylint: disable=[R0903]
|
||||||
""" Cleans the logs from packages. """
|
""" Cleans the logs from packages.
|
||||||
|
"""
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super(Configs, self).__init__()
|
super(Configs, self).__init__()
|
||||||
|
@ -16,6 +17,8 @@ class Cleanings(Configs):
|
||||||
self.utils = Utilities()
|
self.utils = Utilities()
|
||||||
|
|
||||||
def tmp(self) -> None:
|
def tmp(self) -> None:
|
||||||
|
""" Delete files and folders in /tmp/slpkg/ folder.
|
||||||
|
"""
|
||||||
print('Deleting of local data:\n')
|
print('Deleting of local data:\n')
|
||||||
|
|
||||||
for file in self.tmp_slpkg.rglob('*'):
|
for file in self.tmp_slpkg.rglob('*'):
|
||||||
|
|
Loading…
Reference in a new issue