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
beat
beat.core
Commits
3091827a
Commit
3091827a
authored
Mar 01, 2018
by
Samuel GAIST
Browse files
[toolchain] Remove use of Prefix
parent
71a5c5fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
beat/core/toolchain.py
View file @
3091827a
...
...
@@ -56,11 +56,7 @@ class Storage(utils.Storage):
self
.
username
,
self
.
name
,
self
.
version
=
name
.
split
(
'/'
)
self
.
fullname
=
name
if
isinstance
(
prefix
,
utils
.
Prefix
):
self
.
prefix
=
prefix
else
:
self
.
prefix
=
utils
.
Prefix
(
prefix
)
self
.
prefix
=
prefix
path
=
utils
.
hashed_or_simple
(
self
.
prefix
,
'toolchains'
,
name
,
suffix
=
'.json'
)
path
=
path
[:
-
5
]
...
...
Write
Preview
Markdown
is supported
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