File: //opt/alt/python27/lib/python2.7/site-packages/raven/context.pyc
�
��Yc           @@  s�   d  Z  d d l m Z d d l m Z m Z d d l m Z d d l m	 Z d d l
 m Z y d d l m
 Z Wn! e k
 r� d d l m
 Z n Xe �  Z d �  Z d	 e e e f d
 �  �  YZ d d l Z d S(   s�   
raven.context
~~~~~~~~~~~~~
:copyright: (c) 2010-2012 by the Sentry Team, see AUTHORS for more details.
:license: BSD, see LICENSE for more details.
i    (   t   absolute_import(   t   Mappingt   Iterable(   t   local(   t   ref(   t	   iteritems(   t	   get_identc           C@  s*   y t  t j � SWn t k
 r% g  SXd S(   s7   Returns all the active contexts for the current thread.N(   t   listt   _active_contextst   contextst   AttributeError(    (    (    s>