Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
django-pipeline
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
django-pipeline
Commits
1fb05639
Commit
1fb05639
authored
Dec 06, 2013
by
Timothée Peignier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove unusued match_location
parent
18175bd7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
16 deletions
+0
-16
pipeline/storage.py
+0
-16
No files found.
pipeline/storage.py
View file @
1fb05639
...
...
@@ -99,22 +99,6 @@ class BaseFinderStorage(PipelineStorage):
except
OSError
:
pass
def
match_location
(
self
,
name
,
path
,
prefix
=
None
):
if
prefix
:
if
prefix
!=
name
[:
len
(
prefix
)]:
return
None
prefix
=
"
%
s
%
s"
%
(
prefix
,
os
.
sep
)
name
=
name
[
len
(
prefix
):]
norm_path
=
os
.
path
.
normpath
(
path
)
norm_name
=
os
.
path
.
normpath
(
name
)
if
norm_path
==
norm_name
:
return
name
if
os
.
path
.
splitext
(
norm_path
)[
0
]
==
os
.
path
.
splitext
(
norm_name
)[
0
]:
return
name
return
None
def
find_storage
(
self
,
name
):
for
finder
in
self
.
finders
.
get_finders
():
path
=
finder
.
find
(
name
)
...
...
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