Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

new-style classes

  • Loading branch information...
commit d71d2a2b46cbf9507f2f3bc7848ba48135b67924 1 parent 05d77d7
@Vhati authored
View
2  lib/cleanup.py
@@ -10,7 +10,7 @@
import time
-class CleanupHandler():
+class CleanupHandler(object):
"""A base class for thread-safe exit/interrupt operations."""
def __init__(self):
View
2  lib/global_config.py
@@ -16,7 +16,7 @@
vlc_port = 27555
-VERSION = "1.05"
+VERSION = "1.06"
INTF_LUA_NAME = "tweetsubs_cli.lua" # VLC panics if this has a hyphen!?
CONSUMER_KEY = "y5Okw5ltA6PUe9H1uumA3w"
CONSUMER_SECRET = "a0r1x7fwbepzaxkaweafGU1Xrpfe6hDFfCnVToUbU"
View
4 lib/killable_threading.py
@@ -158,7 +158,7 @@ def set_failure_callback(self, failure_func):
self._failure_func = failure_func
-class StreamLines():
+class StreamLines(object):
"""A thread-safe FIFO stack that can be appended and popped."""
def __init__(self):
@@ -336,7 +336,7 @@ def get_ignored_users(self):
return self._ignored_users[:]
-class TweetsListener():
+class TweetsListener(object):
"""A base class for TweetsThread listeners.
Listeners' methods will be called by the TweetsThread,
so subclasses must be thread-safe and not block.
View
2  readme.txt
@@ -1,4 +1,4 @@
-TweetSubs v1.05
+TweetSubs v1.06
Author:
David Millis (tvtronix@yahoo.com)
View
2  tweetsubs.py
@@ -84,7 +84,7 @@
-class VLCControl():
+class VLCControl(object):
"""Sends commands to VLC over a socket to a lua interface."""
def __init__(self):
self._socket_lock = threading.RLock()
Please sign in to comment.
Something went wrong with that request. Please try again.