Your IP : 3.139.70.69
�
��Yc @@ s� d Z d d l m Z d d l Z d d l Z d
Z d Z d � Z d � Z d
� Z e � Z
d Z d d l Td d l
Td d l Td S( s�
raven
~~~~~
:copyright: (c) 2010-2012 by the Sentry Team, see AUTHORS for more details.
:license: BSD, see LICENSE for more details.
i ( t absolute_importNt VERSIONt Clientt get_versions 6.3.0c C@ sj t j j | d d d � } t j j | � s1 d St | d � } z | j � j � d SWd | j � Xd S( Nt refst headst mastert ri ( t ost patht joint existst Nonet opent readt stript close( R t
revision_filet fh( ( s? /opt/alt/python27/lib/python2.7/site-packages/raven/__init__.pyt _get_git_revision s c C@ sq t j j t � } t j j t j j | t j t j � � } t j j | d � } t j j | � rm t | � Sd S( s�
:returns: Revision number of this branch/checkout, if available. None if
no revision number can be determined.
s .gitN(
R R t dirnamet __file__t normpathR
t pardirR R R ( t package_dirt checkout_dirR ( ( s? /opt/alt/python27/lib/python2.7/site-packages/raven/__init__.pyt get_revision s *
c C@ s# t } t r d | t f } n | S( Ns %s (%s)( R t __build__( t base( ( s? /opt/alt/python27/lib/python2.7/site-packages/raven/__init__.pyR * s s restructuredtext en( t *( R R R ( t __doc__t
__future__R R t os.patht __all__R R R R R t
__docformat__t
raven.baset
raven.conft raven.versioning( ( ( s? /opt/alt/python27/lib/python2.7/site-packages/raven/__init__.pyt <module> s