Skip to content

Commit

Permalink
Ensure that service name is a string
Browse files Browse the repository at this point in the history
  • Loading branch information
piyushk committed May 2, 2014
1 parent b9fd268 commit 876aa3b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def args_to_service_request_instance(service, inst, args):
def call_service(service, args=None):
# Given the service name, fetch the type and class of the service,
# and a request instance
service_type = get_service_type(service)
service_type = get_service_type(str(service))
if service_type is None:
raise InvalidServiceException(service)
service_class = get_service_class(service_type)
Expand Down

0 comments on commit 876aa3b

Please sign in to comment.