added general getsig routine to get the correct signals from anywhere in the code.

This commit is contained in:
Rudi Grinberg 2012-11-19 16:07:40 -05:00
parent 4acb7d92db
commit a995129df5
2 changed files with 9 additions and 0 deletions

View file

@ -23,3 +23,5 @@ def user():
except AttributeError: raise UserlessThread()
def apc(): return user().api_client
def getsig(s): return user().signal(s)