summaryrefslogtreecommitdiffstats
path: root/plugins/hostsnmptrapgenerator.py.in
diff options
context:
space:
mode:
authorRamesh Nachimuthu <rnachimu@redhat.com>2014-04-16 15:57:26 +0530
committerBala.FA <barumuga@redhat.com>2014-04-29 10:21:37 +0530
commit4576bf0d0d8c63219960d6c7b545bca94d7cacd9 (patch)
tree70690747f925349820ca28c661255901c6709142 /plugins/hostsnmptrapgenerator.py.in
parent8a52346c78331d6b192a0bb2205b9a73983c9a97 (diff)
SNMP Trap Support : Fix for pep8 error
Change-Id: Iba14a8af63741a5a5014baccaa5b37aad97c7657 Signed-off-by: Ramesh Nachimuthu <rnachimu@redhat.com>
Diffstat (limited to 'plugins/hostsnmptrapgenerator.py.in')
-rwxr-xr-xplugins/hostsnmptrapgenerator.py.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/hostsnmptrapgenerator.py.in b/plugins/hostsnmptrapgenerator.py.in
index b884974..a358de1 100755
--- a/plugins/hostsnmptrapgenerator.py.in
+++ b/plugins/hostsnmptrapgenerator.py.in
@@ -98,9 +98,9 @@ def formatargs(args):
#Add quotes to string parameters to handle
#parameters with multiple words separated with
#spaces
- args.nHostname = '''"'''+args.nHostname+'''"'''
- args.nHostGroupName = '''"'''+args.nHostGroupName+'''"'''
- args.nHostOutput = '''"'''+args.nHostOutput+'''"'''
+ args.nHostname = '''"''' + args.nHostname + '''"'''
+ args.nHostGroupName = '''"''' + args.nHostGroupName + '''"'''
+ args.nHostOutput = '''"''' + args.nHostOutput + '''"'''
if __name__ == '__main__':