2
0
mirror of https://github.com/munin-monitoring/contrib.git synced 2018-11-08 00:59:34 +01:00

fix transmission error handling

This commit is contained in:
Thomas Lveil 2011-05-29 16:52:08 +02:00 committed by Steve Schnepp
parent dd8bf64088
commit 078fb31f90

View File

@ -59,17 +59,21 @@ find this plugin on github at http://github.com/VolatileMesh/munin-plugins
=head1 VERSION
1.0
1.1
=head1 CHANGELOG
=head2 1.0 - 2010/11/12
first release
=head2 1.1 - 2011/05/29
fix transmission error handling
=cut
"""
__version__ = '1.0'
__version__ = '1.1'
import os, sys
@ -137,7 +141,7 @@ def fetch():
try:
client = transmissionrpc.Client(host, port=port, user=user, password=passwd)
except transmissionrpc.transmission.TransmissionError, err:
except transmissionrpc.TransmissionError, err:
print err
sys.exit(1)