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
ef29f10e
Commit
ef29f10e
authored
Mar 14, 2014
by
Timothée Peignier
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #322 from newscred/fix-path-error
check path first
parents
6a186b9b
fb7f9c47
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
pipeline/storage.py
+2
-1
No files found.
pipeline/storage.py
View file @
ef29f10e
...
@@ -74,7 +74,8 @@ class GZIPMixin(object):
...
@@ -74,7 +74,8 @@ class GZIPMixin(object):
return
return
for
path
in
paths
:
for
path
in
paths
:
if
path
and
not
matches_patterns
(
path
,
self
.
gzip_patterns
):
if
path
:
if
not
matches_patterns
(
path
,
self
.
gzip_patterns
):
continue
continue
original_file
=
self
.
open
(
path
)
original_file
=
self
.
open
(
path
)
gzipped_path
=
"{0}.gz"
.
format
(
path
)
gzipped_path
=
"{0}.gz"
.
format
(
path
)
...
...
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