Philipp Hörist pushed to branch master at gajim / gajim
Commits:
-
54513a17
by Philipp Hörist at 2019-12-29T16:09:48Z
-
587cec9e
by Philipp Hörist at 2019-12-29T16:12:24Z
2 changed files:
Changes:
| ... | ... | @@ -12,13 +12,14 @@ |
| 12 | 12 |
# You should have received a copy of the GNU General Public License
|
| 13 | 13 |
# along with Gajim. If not, see <http://www.gnu.org/licenses/>.
|
| 14 | 14 |
|
| 15 |
+from typing import Dict
|
|
| 15 | 16 |
|
| 16 | 17 |
from gajim.common.helpers import Observable
|
| 17 | 18 |
from gajim.common.const import FTState
|
| 18 | 19 |
|
| 19 | 20 |
class FileTransfer(Observable):
|
| 20 | 21 |
|
| 21 |
- _state_descriptions = {}
|
|
| 22 |
+ _state_descriptions = {} # type: Dict[FTState, str]
|
|
| 22 | 23 |
|
| 23 | 24 |
def __init__(self, account, cancel_func=None):
|
| 24 | 25 |
Observable.__init__(self)
|
| ... | ... | @@ -12,7 +12,6 @@ |
| 12 | 12 |
# You should have received a copy of the GNU General Public License
|
| 13 | 13 |
# along with Gajim. If not, see <http://www.gnu.org/licenses/>.
|
| 14 | 14 |
|
| 15 |
-import os
|
|
| 16 | 15 |
import time
|
| 17 | 16 |
|
| 18 | 17 |
from gi.repository import Gtk
|