def disable_signal_for_loaddata(signal_handler):
 @wraps(signal_handler)
 def wrapper(*args, **kwargs):
  if kwargs.get(u'raw', False):
   return
  return signal_handler(*args, **kwargs)
 return wrapper

def disable_signal_for_loaddata ( signal_handler ) : @ wraps ( signal_handler ) def wrapper ( * args , ** kwargs ) : if kwargs . get ( u'raw' , False ) : return return signal_handler ( * args , ** kwargs ) return wrapper
decorator that turns off signal handlers when loading fixture data .