Drop SWH prefix in classes everywhere
It's redundant with the swh modules in itself.
This commit is contained in:
parent
8d1b5d2d2d
commit
b3463ecddc
12 changed files with 82 additions and 84 deletions
|
@ -5,11 +5,11 @@
|
|||
import re
|
||||
import time
|
||||
|
||||
from swh.lister.core.indexing_lister import SWHIndexingHttpLister
|
||||
from swh.lister.core.indexing_lister import IndexingHttpLister
|
||||
from swh.lister.github.models import GitHubModel
|
||||
|
||||
|
||||
class GitHubLister(SWHIndexingHttpLister):
|
||||
class GitHubLister(IndexingHttpLister):
|
||||
PATH_TEMPLATE = '/repositories?since=%d'
|
||||
MODEL = GitHubModel
|
||||
API_URL_INDEX_RE = re.compile(r'^.*/repositories\?since=(\d+)')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue