Add .stestr to .gitignore

Change-Id: I855d30318cfadade0cb57330efea66f752776216
This commit is contained in:
Alex Kavanagh 2017-10-26 10:58:22 +01:00
parent c483ed7dc5
commit 5571a18c8d
2 changed files with 4 additions and 3 deletions

1
.gitignore vendored
View File

@ -5,3 +5,4 @@ interfaces
trusty trusty
.testrepository .testrepository
__pycache__ __pycache__
.stestr

View File

@ -90,7 +90,7 @@ def library_path(hsm):
"""Provide a library_path property to the template if it exists""" """Provide a library_path property to the template if it exists"""
try: try:
return hsm.relation.plugin_data['library_path'] return hsm.relation.plugin_data['library_path']
except: except Exception:
return '' return ''
@ -99,7 +99,7 @@ def login(hsm):
"""Provide a login property to the template if it exists""" """Provide a login property to the template if it exists"""
try: try:
return hsm.relation.plugin_data['login'] return hsm.relation.plugin_data['login']
except: except Exception:
return '' return ''
@ -108,7 +108,7 @@ def slot_id(hsm):
"""Provide a slot_id property to the template if it exists""" """Provide a slot_id property to the template if it exists"""
try: try:
return hsm.relation.plugin_data['slot_id'] return hsm.relation.plugin_data['slot_id']
except: except Exception:
return '' return ''