Skip to content

Commit

Permalink
breaking: remove the props object
Browse files Browse the repository at this point in the history
  • Loading branch information
Tony Crisci committed Aug 19, 2019
1 parent fdf06ca commit 6ddbc22
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 21 deletions.
1 change: 0 additions & 1 deletion i3ipc/_private/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
from .pubsub import PubSub
from .props_object import PropsObject
from .types import MessageType, ReplyType, Event
15 changes: 0 additions & 15 deletions i3ipc/_private/props_object.py

This file was deleted.

3 changes: 0 additions & 3 deletions i3ipc/con.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from ._private import PropsObject

import re
from collections import deque

Expand Down Expand Up @@ -183,7 +181,6 @@ class Con(object):
"""

def __init__(self, data, parent, conn):
self.props = PropsObject(self)
self._conn = conn
self.parent = parent

Expand Down
3 changes: 1 addition & 2 deletions i3ipc/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
VersionReply, WorkspaceReply, SeatReply, InputReply)
from .events import (BarconfigUpdateEvent, BindingEvent, OutputEvent, ShutdownEvent, WindowEvent,
TickEvent, ModeEvent, WorkspaceEvent)
from ._private import PubSub, PropsObject, MessageType, Event
from ._private import PubSub, MessageType, Event

import struct
import json
Expand Down Expand Up @@ -63,7 +63,6 @@ def __init__(self, socket_path=None, auto_reconnect=False):
self.subscriptions = 0

self._pubsub = PubSub(self)
self.props = PropsObject(self)
self._socket_path = socket_path
self._cmd_socket = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
self._cmd_socket.connect(self._socket_path)
Expand Down

0 comments on commit 6ddbc22

Please sign in to comment.