Updating some formatting.

This commit is contained in:
Gareth J. Greenaway 2017-10-16 14:38:32 -07:00
parent 00063e8fc7
commit 2ba749e841
No known key found for this signature in database
GPG Key ID: 10B62F8A7CAD7A41
2 changed files with 3 additions and 3 deletions

View File

@ -295,7 +295,7 @@ class Beacon(object):
comment = 'Updating settings for beacon ' \
'item: {0}'.format(name)
else:
comment = 'Added new beacon item {0}'.format(name)
comment = 'Added new beacon item: {0}'.format(name)
complete = True
self.opts['beacons'].update(data)
@ -345,7 +345,7 @@ class Beacon(object):
else:
if name in self.opts['beacons']:
del self.opts['beacons'][name]
comment = 'Deleting beacon item {0}'.format(name)
comment = 'Deleting beacon item: {0}'.format(name)
else:
comment = 'Beacon item {0} not found.'.format(name)
complete = True

View File

@ -147,7 +147,7 @@ def add(name, beacon_data, **kwargs):
return ret
if name not in list_available(return_yaml=False):
ret['comment'] = 'Beacon {0} is not available.'.format(name)
ret['comment'] = 'Beacon "{0}" is not available.'.format(name)
return ret
if 'test' in kwargs and kwargs['test']: