Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
snakehouse
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
public
snakehouse
Commits
c60f089e
Unverified
Commit
c60f089e
authored
9 months ago
by
Piotr Maślanka
Browse files
Options
Downloads
Patches
Plain Diff
build fix
parent
b57e74d4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#61309
failed with stages
in 3 minutes and 10 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
snakehouse/satella.py
+1
-1
1 addition, 1 deletion
snakehouse/satella.py
with
1 addition
and
1 deletion
snakehouse/satella.py
+
1
−
1
View file @
c60f089e
...
@@ -13,7 +13,7 @@ def _has_separator(path: str) -> bool:
...
@@ -13,7 +13,7 @@ def _has_separator(path: str) -> bool:
if
len
(
path
)
==
3
:
if
len
(
path
)
==
3
:
if
path
.
endswith
(
'
:/
'
)
or
path
.
endswith
(
'
:
\\
'
):
if
path
.
endswith
(
'
:/
'
)
or
path
.
endswith
(
'
:
\\
'
):
return
False
return
False
return
any
(
map
(
lambda
x
:
x
in
path
,
SEPARATORS
))
return
any
(
map
(
lambda
x
:
x
in
path
,
os
.
path
.
sep
))
def
_cond_join
(
prefix
:
tp
.
Optional
[
str
],
filename
:
str
)
->
str
:
def
_cond_join
(
prefix
:
tp
.
Optional
[
str
],
filename
:
str
)
->
str
:
"""
or a conditional os.path.join
"""
"""
or a conditional os.path.join
"""
...
...
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