From c8d9e9ebbed805c2e421b0142404f5e7f076c1f7 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 19 Sep 2012 20:45:59 +0200 Subject: [PATCH] unused function removed --- syncplay/utils.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/syncplay/utils.py b/syncplay/utils.py index 7e5fd36..1c4fc79 100644 --- a/syncplay/utils.py +++ b/syncplay/utils.py @@ -2,7 +2,6 @@ import os import re -import sys import itertools class ArgumentParser(): @@ -67,15 +66,3 @@ def format_time(value): minutes, seconds = divmod(seconds, 60) hours, minutes = divmod(minutes, 60) return '%02d:%02d:%02d.%02d' % (hours, minutes, seconds, mseconds) - -def stdin_thread(manager): - try: - fd = sys.stdin.fileno() - while True: - data = os.read(fd, 1024) - if not data: - break - manager.executeCommand(data.rstrip('\n\r')) - except: - pass -