Open Bug 714880 Opened 13 years ago Updated 2 years ago

Improve the error handling of print-manifest-dirs

Categories

(Core :: Layout, defect)

x86
macOS
defect

Tracking

()

People

(Reporter: jrmuizel, Assigned: jrmuizel)

Details

Attachments

(2 files)

Currently if we have parsing problems we just run into type errors. This makes print-manifest-dirs describe the problem better.
Attachment #585475 - Flags: review?(ted.mielczarek)
When we have HTTP, the paths that we have are urls and we should only use the path component instead of the whole url. This fixes the parsing of some of the reftests in image/test/reftest/encoders-lossless/reftest.list
Attachment #585479 - Flags: review?(ted.mielczarek)
Comment on attachment 585475 [details] [diff] [review]
Improve the error handling of print-manifest-dirs

Review of attachment 585475 [details] [diff] [review]:
-----------------------------------------------------------------

This feels like a messy way to handle the sitation. Instead, perhaps just set testURLs = None up before the if/else chain, and then you can do
if testURLs is None:
    <error>
Attachment #585475 - Flags: review?(ted.mielczarek) → review-
Attachment #585479 - Flags: review?(ted.mielczarek) → review+
Assignee: nobody → jmuizelaar
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: