summaryrefslogtreecommitdiffstats
path: root/plugins/servicesnmptrapgenerator.py.in
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/servicesnmptrapgenerator.py.in')
-rwxr-xr-xplugins/servicesnmptrapgenerator.py.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/servicesnmptrapgenerator.py.in b/plugins/servicesnmptrapgenerator.py.in
index 1a4661f..66707d2 100755
--- a/plugins/servicesnmptrapgenerator.py.in
+++ b/plugins/servicesnmptrapgenerator.py.in
@@ -96,10 +96,10 @@ def formatargs(args):
#Add quotes to string parameters to handle
#parameters with multiple words separated with
#spaces
- args.nHostname = '''"'''+args.nHostname+'''"'''
- args.nSvcDesc = '''"'''+args.nSvcDesc+'''"'''
- args.nSvcGroupName = '''"'''+args.nSvcGroupName+'''"'''
- args.nSvcOutput = '''"'''+args.nSvcOutput+'''"'''
+ args.nHostname = '''"''' + args.nHostname + '''"'''
+ args.nSvcDesc = '''"''' + args.nSvcDesc + '''"'''
+ args.nSvcGroupName = '''"''' + args.nSvcGroupName + '''"'''
+ args.nSvcOutput = '''"''' + args.nSvcOutput + '''"'''
if __name__ == '__main__':