Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
gargantext
Project
Project
Details
Activity
Releases
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
humanities
gargantext
Commits
b470bd86
Commit
b470bd86
authored
Jun 28, 2017
by
sim
Committed by
sim
Jul 10, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[REFACT] Remove unused globals PARSERS & CRAWLERS
parent
10f78f89
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
constants.py
gargantext/constants.py
+0
-3
No files found.
gargantext/constants.py
View file @
b470bd86
...
...
@@ -273,9 +273,6 @@ RESOURCETYPES = [
},
]
#shortcut for resources declaration in template
PARSERS
=
[(
n
[
"type"
],
n
[
"name"
])
for
n
in
RESOURCETYPES
if
n
[
"parser"
]
is
not
None
]
CRAWLERS
=
[(
n
[
"type"
],
n
[
"name"
])
for
n
in
RESOURCETYPES
if
n
[
"crawler"
]
is
not
None
]
def
load_parser
(
resource
):
'''given a resource load the corresponding Parser
...
...
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