unnecessary catch

This commit is contained in:
Ken Conley 2012-01-05 23:38:54 +00:00
parent 2aaf2437ab
commit 4ced6dd5fa
1 changed files with 0 additions and 2 deletions

View File

@ -73,8 +73,6 @@ def _get_message_or_service_class(type_str, message_type, reload_on_error=False)
# import the package and return the class
pypkg = __import__('%s.%s'%(package, type_str))
val = getattr(getattr(pypkg, type_str), base_type)
except roslib.packages.InvalidROSPkgException:
val = None
except ImportError:
val = None
except AttributeError: