/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/urlutils.py

  • Committer: Vincent Ladeuil
  • Date: 2019-03-06 14:03:19 UTC
  • mfrom: (7290.1.15 work)
  • mto: This revision was merged to the branch mainline in revision 7295.
  • Revision ID: v.ladeuil+brz@free.fr-20190306140319-zgjegynpjv3vv0jg
Merge 3.0 into trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
561
561
    (base_url, subsegments) = split_segment_parameters_raw(url)
562
562
    parameters = {}
563
563
    for subsegment in subsegments:
564
 
        (key, value) = subsegment.split("=", 1)
 
564
        try:
 
565
            (key, value) = subsegment.split("=", 1)
 
566
        except ValueError:
 
567
            raise InvalidURL(url, "missing = in subsegment")
565
568
        if not isinstance(key, str):
566
569
            raise TypeError(key)
567
570
        if not isinstance(value, str):