Philipp Hörist pushed to branch master at gajim / gajim
Commits: 54513a17 by Philipp Hörist at 2019-12-29T16:09:48Z Remove unused import
- - - - - 587cec9e by Philipp Hörist at 2019-12-29T16:12:24Z FileTransfer: Add annotation
- - - - -
2 changed files:
- gajim/common/filetransfer.py - gajim/gtk/filetransfer_progress.py
Changes:
===================================== gajim/common/filetransfer.py ===================================== @@ -12,13 +12,14 @@ # You should have received a copy of the GNU General Public License # along with Gajim. If not, see http://www.gnu.org/licenses/.
+from typing import Dict
from gajim.common.helpers import Observable from gajim.common.const import FTState
class FileTransfer(Observable):
- _state_descriptions = {} + _state_descriptions = {} # type: Dict[FTState, str]
def __init__(self, account, cancel_func=None): Observable.__init__(self)
===================================== gajim/gtk/filetransfer_progress.py ===================================== @@ -12,7 +12,6 @@ # You should have received a copy of the GNU General Public License # along with Gajim. If not, see http://www.gnu.org/licenses/.
-import os import time
from gi.repository import Gtk
View it on GitLab: https://dev.gajim.org/gajim/gajim/compare/3d07622ec77506e9aafda2200254c82b9c...