savoirfairelinux/monitoring-tools — pull request #6 by ReAzem (2014-08-01 21:55:38+00:00)
Title: Shinkenplugins - Create perfdata with none values

@matthieucan

You can now create PerfData with None values without "None" appearing in the output.

Instead of doing
```
p = PerfData(
'highest', highest_value,
warn=args.get('warning') or '',
crit=args.get('critical') or '',
min=0,
)
```

I can now do

```
p = PerfData(
'highest', highest_value,
warn=args.get('warning'),
crit=args.get('critical'),
min=0,
)
```

Without having to worry about None values.