Merge pull request #7087 from basepi/7083

Make sure comment is assigned before reference, Fix #7083
This commit is contained in:
Colton Myers 2013-09-05 18:40:10 -07:00
commit 5c28bf66b3

View File

@ -390,6 +390,8 @@ def installed(
for x in targets])
comment = 'The following packages are set to be ' \
'installed/updated: {0}.'.format(summary)
else:
comment = ''
return {'name': name,
'changes': {},
'result': None,