Permalink
Browse files

Merge pull request #31 from hansenerd/master

ignore TypeErrors while checking for rpcmethods.
  • Loading branch information...
davidfischer committed Jan 7, 2014
2 parents 39b812f + c64766f commit 643e63e0dcb6f9098e3976bc6f39fa58758c0821
Showing with 1 addition and 1 deletion.
  1. +1 −1 rpc4django/rpcdispatcher.py
@@ -348,7 +348,7 @@ def register_rpcmethods(self, apps):
# check each app for any rpcmethods
try:
app = __import__(appname, globals(), locals(), ['*'])
- except (ImportError, ValueError):
+ except (TypeError, ImportError, ValueError):
# import throws ValueError on empty "name"
continue

0 comments on commit 643e63e

Please sign in to comment.