Permalink
Browse files

Minor indentation fix

  • Loading branch information...
buffer committed Jun 19, 2012
1 parent 32734c9 commit 07dfbeebd63be7cad8048824afbf8f350a22214c
Showing with 5 additions and 4 deletions.
  1. +4 −4 cli/hpfeeds.py
  2. +1 −0 cli/thugfiles.py
View
@@ -93,11 +93,11 @@ def connect(self):
else:
raise FeedException('Expected info message at this point.')
- self.s.settimeout(None)
- self.s.setsockopt(socket.SOL_SOCKET, socket.SO_KEEPALIVE, 1)
+ self.s.settimeout(None)
+ self.s.setsockopt(socket.SOL_SOCKET, socket.SO_KEEPALIVE, 1)
- if sys.platform in ('linux2', ):
- self.s.setsockopt(socket.SOL_TCP, socket.TCP_KEEPIDLE, 60)
+ if sys.platform in ('linux2', ):
+ self.s.setsockopt(socket.SOL_TCP, socket.TCP_KEEPIDLE, 60)
def _run(self, message_callback, error_callback):
while not self.stopped:
View
@@ -1,6 +1,7 @@
import os
import sys
+import time
import datetime
import json
import logging

0 comments on commit 07dfbee

Please sign in to comment.