Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 867723 Details for
Bug 911923
app-misc/anki-2.1.15-r2: Error when adding note type
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for compatibility with >=python-3.10
anki-2.1.15-py310-collections-compat.patch (text/plain), 737 bytes, created by
silver_ghost
on 2023-08-12 16:30:48 UTC
(
hide
)
Description:
Patch for compatibility with >=python-3.10
Filename:
MIME Type:
Creator:
silver_ghost
Created:
2023-08-12 16:30:48 UTC
Size:
737 bytes
patch
obsolete
>diff -ru a/aqt/models.py b/aqt/models.py >--- a/aqt/models.py 2023-08-12 19:21:54.421356229 +0300 >+++ b/aqt/models.py 2023-08-12 19:21:54.421356229 +0300 >@@ -7,7 +7,7 @@ > import aqt.clayout > from anki import stdmodels > from aqt.utils import saveGeom, restoreGeom >-import collections.abc >+import collections > from anki.lang import _, ngettext > > class Models(QDialog): >@@ -170,7 +170,7 @@ > # standard models > self.models = [] > for (name, func) in stdmodels.models: >- if isinstance(name, collections.abc.Callable): >+ if isinstance(name, collections.Callable): > name = name() > item = QListWidgetItem(_("Add: %s") % name) > self.dialog.models.addItem(item)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 911923
: 867723