Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-pylib
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
caosdb-pylib
Commits
12189be8
Commit
12189be8
authored
2 years ago
by
Henrik tom Wörden
Browse files
Options
Downloads
Patches
Plain Diff
MAINT: fix file system check executable
parent
de6c562c
No related branches found
No related tags found
2 merge requests
!107
ENH: add entity getters and cached functions
,
!98
MAINT: fix file system check executable
Pipeline
#35000
passed
2 years ago
Stage: code_style
Stage: linting
Stage: test
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/caosdb/utils/checkFileSystemConsistency.py
+4
-5
4 additions, 5 deletions
src/caosdb/utils/checkFileSystemConsistency.py
with
4 additions
and
5 deletions
src/caosdb/utils/checkFileSystemConsistency.py
+
4
−
5
View file @
12189be8
...
...
@@ -82,17 +82,15 @@ def main(argv=None):
program_build_date
=
str
(
__updated__
)
program_version_message
=
'
%%(prog)s %s (%s)
'
%
(
program_version
,
program_build_date
)
program_shortdesc
=
__import__
(
'
__main__
'
).
__doc__
.
split
(
"
\n
"
)[
1
]
program_license
=
'''
%s
program_license
=
'''
Created by timm fitschen on %s.
Copyright 2016 BMPG. All rights reserved.
Distributed on an
"
AS IS
"
basis without warranties
or conditions of any kind, either express or implied.
USAGE
'''
%
(
program_shortdesc
,
str
(
__date__
))
'''
# Setup argument parser
parser
=
ArgumentParser
(
description
=
program_license
,
...
...
@@ -113,6 +111,7 @@ USAGE
help
=
"
timeout in seconds for the database requests. [default: %(default)s]
"
,
metavar
=
"
TIMEOUT
"
,
default
=
"
200
"
)
parser
.
add_argument
(
'
location
'
)
# Process arguments
args
=
parser
.
parse_args
()
...
...
@@ -121,7 +120,7 @@ USAGE
VERBOSITY
=
args
.
verbose
TIMEOUT
=
args
.
timeout
runCheck
(
TIMEOUT
)
print
(
runCheck
(
TIMEOUT
,
args
.
location
).
messages
)
return
0
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment