You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BugImportSpider in bugimporters/main.py is written to read a
special_bug_parser_name from the .yaml and store it as bug_importer's
bug_parser. That part is working fine.
However, in RoundupBugImporter.handle_bug_html_response in
bugimporters/roundup.py, the custom bug parser (stored in .bug_parser) is simply
ignored; instead RoundupBugParser is hard-coded as the bug parser.
Attaching a patch which, if applied and run with
python bugimporters/main.py -i examples/pyorg-roundup.yaml -o json
will write into the log a message showing that the default bug parser is being
used despite the setting in pyorg-roundup.yaml.
Comment by catherinedevlin:
special_bug_parser_name from the .yaml and store it as bug_importer's
bug_parser. That part is working fine.
However, in RoundupBugImporter.handle_bug_html_response in
bugimporters/roundup.py, the custom bug parser (stored in .bug_parser) is simply
ignored; instead RoundupBugParser is hard-coded as the bug parser.
Attaching a patch which, if applied and run with
python bugimporters/main.py -i examples/pyorg-roundup.yaml -o json
will write into the log a message showing that the default bug parser is being
used despite the setting in pyorg-roundup.yaml.
I'll provide a suggested patch to fix it shortly.
Comment by catherinedevlin:
Comment by paulproteus:
If you can turn this into a GitHub pull request, that'd be convenient.
Either way, I hope to review + merge later today.
Comment by catherinedevlin:
#49
Comment by paulproteus:
Comment by ehashman:
File at http://roundup-archive.openhatch.org/bugs/file669/fix962.patch by catherinedevlin
Status: in-progress
Nosy List: catherinedevlin, ehashman, paulproteus
Priority: bug
Imported from roundup ID: 962 (view archived page)
Last modified: 2014-05-04.21:43:30
The text was updated successfully, but these errors were encountered: