Philipp Hörist pushed to branch master at gajim / gajim
Commits:
348395b9 by lovetox at 2022-08-16T21:08:43+02:00
cq: Group imports
- - - - -
2 changed files:
- gajim/gtk/chat_page.py
- gajim/gtk/main.py
Changes:
=====================================
gajim/gtk/chat_page.py
=====================================
@@ -16,6 +16,7 @@
from typing import Any
from typing import Literal
+from typing import TYPE_CHECKING
import logging
@@ -36,7 +37,6 @@
from .chat_stack import ChatStack
from .search_view import SearchView
-from typing import TYPE_CHECKING
if TYPE_CHECKING:
from .control import ChatControl
=====================================
gajim/gtk/main.py
=====================================
@@ -17,6 +17,7 @@
from typing import Any
from typing import cast
from typing import Optional
+from typing import TYPE_CHECKING
import logging
@@ -63,7 +64,6 @@
from .structs import AddChatActionParams
from .structs import actionmethod
-from typing import TYPE_CHECKING
if TYPE_CHECKING:
from .control import ChatControl
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/348395b9bc3b0778be9b1c5ee3ab29ed…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/348395b9bc3b0778be9b1c5ee3ab29ed…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
f7fecc73 by lovetox at 2022-08-16T18:20:39+02:00
cq: Update pylintrc
- - - - -
1 changed file:
- pylintrc
Changes:
=====================================
pylintrc
=====================================
@@ -101,6 +101,7 @@ confidence=
# C0111 missing-docstring
# C0209 use-f-string
# C0302 too-many-lines
+# C0411 wrong-import-order
# C0413 wrong-import-position
# R0801 duplicat-code
# R0904 too-many-public-methods
@@ -114,7 +115,7 @@ confidence=
# W1404 implicit-str-concat
# W1406 redundant-u-string-prefix
-disable=E0401,E1101,E1102,E1111,E1120,E1121,E1123,E1124,E1125,E1126,E1127,E1128,E1129,E1130,E1131,E1132,E1133,E1134,E1135,E1136,E1137,E1138,E1139,E1140,E1141,E1142,I1101,W0212,W1113,W1114,W1115,W1116,C0301,C0303,C0304,C0321,C0413,W0301,W0311,W0611,C0111,C0209,C0302,R0801,R0904,R0913,R0915,R1725,R1732,W0237,W0311,W0511,W0707,W1404,W1406
+disable=E0401,E1101,E1102,E1111,E1120,E1121,E1123,E1124,E1125,E1126,E1127,E1128,E1129,E1130,E1131,E1132,E1133,E1134,E1135,E1136,E1137,E1138,E1139,E1140,E1141,E1142,I1101,W0212,W1113,W1114,W1115,W1116,C0301,C0303,C0304,C0321,C0411,C0413,W0301,W0311,W0611,C0111,C0209,C0302,R0801,R0904,R0913,R0915,R1725,R1732,W0237,W0311,W0511,W0707,W1404,W1406
# Enable the message, report, category or checker with the given id(s). You can
# either give multiple identifier separated by comma (,) or put this option
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/f7fecc737cb14a9f3a8dd61ba3a5255a…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/f7fecc737cb14a9f3a8dd61ba3a5255a…
You're receiving this email because of your account on dev.gajim.org.
Daniel Brötzmann pushed to branch master at gajim / gajim
Commits:
9483a7c3 by wurstsalat at 2022-08-16T17:06:06+02:00
fix: Preview: Don’t fail if thumb file already exists
Fixes #11091
- - - - -
1 changed file:
- gajim/common/preview.py
Changes:
=====================================
gajim/common/preview.py
=====================================
@@ -531,7 +531,10 @@ def _on_thumb_write_finished(_result: bool,
if error is not None:
log.error('%s: %s', preview.thumb_path.name, error)
- return
+ if not preview.thumb_exists:
+ # Generating a preview can fail if the file already exists
+ # Only abort if thumbnail has not been stored in preview
+ return
log.info('Thumbnail stored: %s ', preview.thumb_path.name)
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/9483a7c33c319ab1ccff9ba589f7c3b3…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/9483a7c33c319ab1ccff9ba589f7c3b3…
You're receiving this email because of your account on dev.gajim.org.