]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
Make client a global variable 44/head
authorZack Cerza <zack@cerza.org>
Wed, 21 Aug 2013 15:27:51 +0000 (10:27 -0500)
committerZack Cerza <zack@cerza.org>
Wed, 21 Aug 2013 15:27:51 +0000 (10:27 -0500)
teuthology/sentry.py

index ce17520ba4036323cf311430e91cf598b919f23f..ecbd56fb236e0dedcc475f61fb1315350a6389d6 100644 (file)
@@ -3,6 +3,7 @@ from raven import Client
 client = None
 
 def get_client(ctx):
+    global client
     if client:
         return client
     dsn = ctx.teuthology_config.get('sentry_dsn')