diff --git a/plugins/other/transmission b/plugins/other/transmission index c46b1613..ad3e8e79 100755 --- a/plugins/other/transmission +++ b/plugins/other/transmission @@ -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)