From 6112d302847539ea03d7c18969498be5a2d7b4cd Mon Sep 17 00:00:00 2001 From: Rushil Chugh Date: Tue, 4 Nov 2014 12:53:29 -0500 Subject: [PATCH] Fix for debugging m-shr in PyCharm This fix allows for the utilization of debugging capabilities for Manila Share Service in PyCharm. Closes-bug: 1395741 Change-Id: Ibb6df972d608780cb5df1ab498108db688480d36 --- bin/manila-share | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/manila-share b/bin/manila-share index dc28d40c71..8ea785e31b 100755 --- a/bin/manila-share +++ b/bin/manila-share @@ -54,7 +54,8 @@ if __name__ == '__main__': for backend in CONF.enabled_share_backends: host = "%s@%s" % (CONF.host, backend) server = service.Service.create(host=host, - service_name=backend) + service_name=backend, + binary='manila-share') launcher.launch_server(server) else: server = service.Service.create(binary='manila-share')