Skip to content

Commit

Permalink
Merge pull request #31 from hansenerd/master
Browse files Browse the repository at this point in the history
ignore TypeErrors while checking for rpcmethods.
  • Loading branch information
davidfischer committed Jan 7, 2014
2 parents 39b812f + c64766f commit 643e63e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpc4django/rpcdispatcher.py
Expand Up @@ -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

Expand Down

0 comments on commit 643e63e

Please sign in to comment.