4823: Fix fuse tests for SafeApi -> ThreadSafeApiCache changes. Add a couple
[arvados.git] / sdk / python / arvados / safeapi.py
index 9737da1031334178b5cfb39102f0d7022f6083c6..32cb2a543d12d78bccfd797e65a287407d58e595 100644 (file)
@@ -26,7 +26,4 @@ class ThreadSafeApiCache(object):
         # Proxy nonexistent attributes to the thread-local API client.
         if name == "api_token":
             return self.apiconfig['ARVADOS_API_TOKEN']
-        try:
-            return getattr(self.localapi(), name)
-        except AttributeError:
-            return super(ThreadSafeApiCache, self).__getattr__(name)
+        return getattr(self.localapi(), name)