Skip to content
This repository has been archived by the owner on Apr 26, 2020. It is now read-only.

Commit

Permalink
Fix typing in domain.py
Browse files Browse the repository at this point in the history
  • Loading branch information
kalkin committed Jun 17, 2017
1 parent 1bb9730 commit e0b5b0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qubesdbus/domain.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
''' D-Bus Domain object '''

from typing import Dict, Union
from typing import Any, Dict, Union

import dbus
import dbus.service
Expand All @@ -40,7 +40,7 @@ class Domain(qubesdbus.service.PropertiesObject):
'''

def __init__(self, bus: SessionBus, bus_name: BusName, bus_path: str,
data: Dict[Union[str, dbus.String]]) -> None:
data: Dict[Union[str, dbus.String], Any]) -> None:
self.properties = data
bus_path = '/'.join([bus_path, 'domains', str(data['qid'])])
self.name = data['name']
Expand Down

0 comments on commit e0b5b0d

Please sign in to comment.