Skip to content
Snippets Groups Projects
Verified Commit cba22b7d authored by Antoine R. Dumont's avatar Antoine R. Dumont
Browse files

doc: Fix typos according to review

parent 8c5329ce
Branches lister-pypi
Tags v0.0.15
No related merge requests found
......@@ -64,7 +64,7 @@ Minimalistic configuration:
lister_db_url: postgres:///lister-github
credentials: []
cache_responses: True
cache_dir: /home/zack/.cache/swh/lister/github.com
cache_dir: /home/user/.cache/swh/lister/github.com
Note: This expects storage (5002) and scheduler (5008) services to run locally
......@@ -102,7 +102,7 @@ Note: This expects storage (5002) and scheduler (5008) services to run locally
lister_db_url: postgres:///lister-gitlab
credentials: []
cache_responses: True
cache_dir: /home/zack/.cache/swh/lister/gitlab
cache_dir: /home/user/.cache/swh/lister/gitlab
Note: This expects storage (5002) and scheduler (5008) services to run locally
......@@ -145,7 +145,7 @@ Note: This expects storage (5002) and scheduler (5008) services to run locally
lister_db_url: postgres:///lister-debian
credentials: []
cache_responses: True
cache_dir: /home/zack/.cache/swh/lister/debian
cache_dir: /home/user/.cache/swh/lister/debian
Note: This expects storage (5002) and scheduler (5008) services to run locally
......@@ -163,7 +163,7 @@ Note: This expects storage (5002) and scheduler (5008) services to run locally
...
## lister-debian
## lister-pypi
### preparation steps
......@@ -188,7 +188,7 @@ Note: This expects storage (5002) and scheduler (5008) services to run locally
lister_db_url: postgres:///lister-pypi
credentials: []
cache_responses: True
cache_dir: /home/zack/.cache/swh/lister/pypi
cache_dir: /home/user/.cache/swh/lister/pypi
Note: This expects storage (5002) and scheduler (5008) services to run locally
......
......@@ -211,8 +211,8 @@ class SWHListerHttpTransport(abc.ABC):
class ListerOnePageApiTransport(SWHListerHttpTransport):
"""Use the request library for retrieving a basic html page and parse
the result.
"""Leverage requests library to retrieve basic html page and parse
result.
To be used in conjunction with SWHListerBase or a subclass of it.
......
......@@ -13,7 +13,6 @@ from swh.lister.core.lister_transports import ListerOnePageApiTransport
class PyPiLister(ListerOnePageApiTransport, SimpleLister):
# Template path expecting an integer that represents the page id
MODEL = PyPiModel
LISTER_NAME = 'pypi'
PAGE = 'https://pypi.org/simple/'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment