33 lines
1.6 KiB
Diff
33 lines
1.6 KiB
Diff
From e87972d4ae499d7049338ddb0d5009b6527a93dc Mon Sep 17 00:00:00 2001
|
|
From: Mike Gilbert <floppym@gentoo.org>
|
|
Date: Mon, 8 Feb 2021 22:24:33 -0500
|
|
Subject: [PATCH] Disable apt_pkg support
|
|
|
|
---
|
|
lib/debian/deb822.py | 4 +--
|
|
lib/debian/tests/test_deb822.py | 58 ---------------------------------
|
|
2 files changed, 2 insertions(+), 60 deletions(-)
|
|
|
|
diff --git a/lib/debian/deb822.py b/lib/debian/deb822.py
|
|
index 46cf81a..158033f 100644
|
|
--- a/lib/debian/deb822.py
|
|
+++ b/lib/debian/deb822.py
|
|
@@ -2286,7 +2286,7 @@ class Sources(Dsc, _PkgRelationMixin):
|
|
def iter_paragraphs(cls,
|
|
sequence, # type: InputDataType
|
|
fields=None, # type: Optional[List[str]]
|
|
- use_apt_pkg=True, # type: bool
|
|
+ use_apt_pkg=False, # type: bool
|
|
shared_storage=False, # type: bool
|
|
encoding="utf-8", # type: str
|
|
strict=None, # type: Optional[Dict[str, bool]]
|
|
@@ -2328,7 +2328,7 @@ class Packages(Deb822, _PkgRelationMixin, _VersionAccessorMixin):
|
|
def iter_paragraphs(cls,
|
|
sequence, # type: InputDataType
|
|
fields=None, # type: Optional[List[str]]
|
|
- use_apt_pkg=True, # type: bool
|
|
+ use_apt_pkg=False, # type: bool
|
|
shared_storage=False, # type: bool
|
|
encoding="utf-8", # type: str
|
|
strict=None, # type: Optional[Dict[str, bool]]
|