Debian Codegraph @

debian/patches/dgit-changes

raw
1 From:
2 Subject: Debian changes
3
4 The Debian packaging of python-wyoming is maintained in git, using a workflow
5 similar to the one described in dgit-maint-merge(7).
6 The Debian delta is represented by this one combined patch; there isn't a
7 patch queue that can be represented as a quilt series.
8
9 A detailed breakdown of the changes is available from their canonical
10 representation -- git commits in the packaging repository.
11 For example, to see the changes made by the Debian maintainer in the first
12 upload of upstream version 1.2.3, you could use:
13
14 % git clone https://git.dgit.debian.org/python-wyoming
15 % cd python-wyoming
16 % git log --oneline 1.2.3..debian/1.2.3-1 -- . ':!debian'
17
18 (If you have dgit, use `dgit clone python-wyoming`, rather than plain `git clone`.)
19
20 We don't use debian/source/options single-debian-patch because it has bugs.
21 Therefore, NMUs etc. may nevertheless have made additional patches.
22
23 ---
24
25 diff --git a/wyoming/http/shared.py b/wyoming/http/shared.py
26 index 0be48c5..81178f3 100644
27 --- a/wyoming/http/shared.py
28 +++ b/wyoming/http/shared.py
29 @@ -5,7 +5,6 @@ from pathlib import Path
30 from typing import Union
31
32 from flask import Flask, jsonify, redirect, request
33 -from swagger_ui import flask_api_doc # pylint: disable=no-name-in-module
34
35 from wyoming.client import AsyncClient
36 from wyoming.info import Describe, Info
37 @@ -57,8 +56,4 @@ def get_app(
38 """Return error as text."""
39 return (f"{err.__class__.__name__}: {err}", 500)
40
41 - flask_api_doc(
42 - app, config_path=str(openapi_config_path), url_prefix="/api", title="API doc"
43 - )
44 -
45 return app