Révision a2a6f2e9
Ajouté par Julien Enselme il y a presque 11 ans
scripts_divers/migrer_taches_vers_redmine/url_parser.py | ||
---|---|---|
5 | 5 |
|
6 | 6 |
|
7 | 7 |
class LinksParser(HTMLParser): |
8 |
"Classe permettant de parser du html" |
|
8 | 9 |
def __init__(self): |
9 | 10 |
HTMLParser.__init__(self) |
10 | 11 |
self.recording = 0 |
... | ... | |
46 | 47 |
tache_urls = [] |
47 | 48 |
for nid in nids: |
48 | 49 |
tache_urls.append(base_url + '/node/' + nid + '.json') |
49 |
return nids, tache_urls |
|
50 |
return nids, tache_urls #on a besoin des nids pour après. |
Formats disponibles : Unified diff
Ajout de commentaires dans les scripts goto_redmine et urls_parser