Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
juga
sbws
Commits
5e596b71
Commit
5e596b71
authored
Jul 23, 2018
by
Matt Traudt
Browse files
Add docstring in generator_started_from_file()
parent
6008858a
Changes
1
Hide whitespace changes
Inline
Side-by-side
sbws/lib/v3bwfile.py
View file @
5e596b71
...
...
@@ -190,6 +190,10 @@ class V3BWHeader(object):
@
staticmethod
def
generator_started_from_file
(
conf
):
'''
ISO formatted timestamp for the time when the scanner process most
recently started.
'''
state
=
State
(
conf
[
'paths'
][
'state_fname'
])
if
'scanner_started'
in
state
:
return
state
[
'scanner_started'
]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment