Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #12618
| From | Valentin Vidić <vvidic@debian.org> |
|---|---|
| Newsgroups | linux.debian.maint.python |
| Subject | Re: Help fixing #959558 (case: FTBFS: AttributeError: 'tuple' object has no attribute 'lstrip' with sphinx 2.4) |
| Date | 2020-05-26 23:30 +0200 |
| Message-ID | <AaPj4-74V-3@gated-at.bofh.it> (permalink) |
| References | <AaOZH-6YH-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue, May 26, 2020 at 10:24:37PM +0200, Thomas Goirand wrote:
> Does any of you knows how to fix this bug?
> https://bugs.debian.org/959558
>
> Almost all of OpenStack can removed from Bullseye if not fixed in time,
> so I tried to fix, but couldn't.
Does this help?
--- case/mock.py.orig 2020-05-26 21:21:01.420069652 +0000
+++ case/mock.py 2020-05-26 21:21:09.316117783 +0000
@@ -38,13 +38,13 @@
module_name_t = bytes # noqa
__all__ = [
- 'ANY', 'ContextMock', 'MagicMock', 'Mock', 'MockCallbacks',
- 'call', 'patch', 'sentinel',
+ b'ANY', b'ContextMock', b'MagicMock', b'Mock', b'MockCallbacks',
+ b'call', b'patch', b'sentinel',
- 'wrap_logger', 'environ', 'sleepdeprived', 'mask_modules', 'mute',
- 'stdouts', 'replace_module_value', 'sys_version', 'pypy_version',
- 'platform_pyimp', 'sys_platform', 'reset_modules', 'module',
- 'open', 'restore_logging', 'module_exists', 'create_patcher',
+ b'wrap_logger', b'environ', b'sleepdeprived', b'mask_modules', b'mute',
+ b'stdouts', b'replace_module_value', b'sys_version', b'pypy_version',
+ b'platform_pyimp', b'sys_platform', b'reset_modules', b'module',
+ b'open', b'restore_logging', b'module_exists', b'create_patcher',
]
ANY = mock.ANY
--
Valentin
Back to linux.debian.maint.python | Previous | Next | Find similar | Unroll thread
Re: Help fixing #959558 (case: FTBFS: AttributeError: 'tuple' object has no attribute 'lstrip' with sphinx 2.4) Valentin Vidić <vvidic@debian.org> - 2020-05-26 23:30 +0200
csiph-web