aurora-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kevi...@apache.org
Subject aurora git commit: Remove callable check.
Date Thu, 22 Oct 2015 23:56:13 GMT
Repository: aurora
Updated Branches:
  refs/heads/master 2f173c653 -> 8889d8408


Remove callable check.

Bugs closed: AURORA-1524

Reviewed at https://reviews.apache.org/r/39572/


Project: http://git-wip-us.apache.org/repos/asf/aurora/repo
Commit: http://git-wip-us.apache.org/repos/asf/aurora/commit/8889d840
Tree: http://git-wip-us.apache.org/repos/asf/aurora/tree/8889d840
Diff: http://git-wip-us.apache.org/repos/asf/aurora/diff/8889d840

Branch: refs/heads/master
Commit: 8889d8408b33c190dd9d27e5fd7753e22b7d631e
Parents: 2f173c6
Author: Kevin Sweeney <kevints@apache.org>
Authored: Thu Oct 22 16:56:00 2015 -0700
Committer: Kevin Sweeney <kevints@apache.org>
Committed: Thu Oct 22 16:56:00 2015 -0700

----------------------------------------------------------------------
 src/main/python/apache/aurora/common/auth/auth_module_manager.py | 2 --
 1 file changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/aurora/blob/8889d840/src/main/python/apache/aurora/common/auth/auth_module_manager.py
----------------------------------------------------------------------
diff --git a/src/main/python/apache/aurora/common/auth/auth_module_manager.py b/src/main/python/apache/aurora/common/auth/auth_module_manager.py
index 07a2730..2d785e7 100644
--- a/src/main/python/apache/aurora/common/auth/auth_module_manager.py
+++ b/src/main/python/apache/aurora/common/auth/auth_module_manager.py
@@ -36,8 +36,6 @@ def register_auth_module(auth_module):
   """
   if not isinstance(auth_module, AuthModule):
     raise TypeError('Given auth module must be a AuthModule subclass, got %s' % type(auth_module))
-  if not callable(auth_module):
-    raise TypeError('auth_module should be callable.')
   _AUTH_MODULES[auth_module.mechanism] = auth_module
 
 


Mime
View raw message