File: //kunden/lib/python3/dist-packages/breezy/__pycache__/location.cpython-39.pyc
a
���_ � @ s� d Z ddlmZ ddlZddlmZ ddlmZ ddlm Z m
Z
G dd � d e�Ze� Zd
d� Zdd
d�Z
dd� Zdd� Zddd�ZdS )zUI location string handling.� )�absolute_importN� )�urlutils)�Hooks)�PY3�string_typesc @ s e Zd ZdZdd� ZdS )�
LocationHookszLDictionary mapping hook name to a list of callables for location hooks.
c C s t �| dd� | �ddd� d S )Nzbreezy.location�hooks�rewrite_urlzPPossibly rewrite a URL. Called with a URL to rewrite and the purpose of the URL.)� r )r �__init__Zadd_hook)�self� r �1/usr/lib/python3/dist-packages/breezy/location.pyr &