Skip to content

Commit

Permalink
Remove some debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
deeplycloudy committed Oct 4, 2013
1 parent 1319076 commit a3d9955
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions LMA/live.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,6 @@
from stormdrain.pubsub import get_exchange
from lmatools.live.liveLMA import LiveLMAController, WebsocketClient

def force_debug(func):
def wrapped(*args, **kwargs):
try:
func(*args,**kwargs)
except:
import sys, traceback
exc_type, exc_value, exc_traceback = sys.exc_info()
print(exc_value, traceback.extract_tb(exc_traceback)[-1])
return wrapped


class LiveLMATimeController(object):
Expand Down Expand Up @@ -131,7 +122,6 @@ def show(self, header, newdata):
self._dataq.append(newdata)
self.send("B4D_LMAnewsources_live")

@force_debug
def send(self, msg):
""" SD_bounds_updated messages are sent here """

Expand Down

0 comments on commit a3d9955

Please sign in to comment.