Skip to content

Commit

Permalink
Fix for shell bug
Browse files Browse the repository at this point in the history
  • Loading branch information
scottslewis committed May 31, 2018
1 parent 6832661 commit a34f506
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pelix/rsa/shell.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,8 @@ def _list_configs(self, io_handler, expimp, endpoint_id=None):
io_handler.write(self.EXPIMP_LINE_FORMAT.format('endpoint.id',expimp[1]+' Container ID',expimp[1]+' Service Id'))
for export_reg in configs:
ed = export_reg.get_description()
io_handler.write(self.EXPIMP_LINE_FORMAT.format(str(ed.get_id()),str(ed.get_container_id()[1]),ed.get_service_id()))
if ed:
io_handler.write(self.EXPIMP_LINE_FORMAT.format(str(ed.get_id()),str(ed.get_container_id()[1]),ed.get_service_id()))
io_handler.write('\n')

def _list_exported_configs(self, io_handler, endpoint_id=None):
Expand Down

0 comments on commit a34f506

Please sign in to comment.