Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MetObsCommon
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository 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
MetObs
MetObsCommon
Commits
5647a8da
Verified
Commit
5647a8da
authored
11 months ago
by
David Hoese
Browse files
Options
Downloads
Patches
Plain Diff
Fix syntax warning in incoming.py
parent
c974f4fd
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
metobscommon/archive/incoming.py
+1
-1
1 addition, 1 deletion
metobscommon/archive/incoming.py
with
1 addition
and
1 deletion
metobscommon/archive/incoming.py
+
1
−
1
View file @
5647a8da
...
@@ -104,7 +104,7 @@ date_formats = {
...
@@ -104,7 +104,7 @@ date_formats = {
def
sanitize_name_format_for_glob
(
name_format
,
exclude
=
"
Yymd
"
):
def
sanitize_name_format_for_glob
(
name_format
,
exclude
=
"
Yymd
"
):
"""
Replace all dated information in a name format (
\
%H,
\
%M, etc) with asterisks (*).
"""
Replace all dated information in a name format (
%
%H,
%
%M, etc) with asterisks (*).
This allows the name format to be used in a glob pattern to search for the files it represents.
This allows the name format to be used in a glob pattern to search for the files it represents.
I have not found an easy way besides this to use a name format for both date search and glob search.
I have not found an easy way besides this to use a name format for both date search and glob search.
...
...
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