Révision 2c16d33c
Update transmission for python 2.7
Added recommandation from http://www.python.org/dev/peps/pep-0263/ to make this plugin work with pyhton 2.7.5+
Related error:
File "/etc/munin/plugins/transmission", line 36
SyntaxError: Non-ASCII character '\xc3' in file /etc/munin/plugins/transmission on line 37, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
| plugins/network/transmission | ||
|---|---|---|
| 1 |
#!/usr/bin/env python2.6
|
|
| 2 |
|
|
| 1 |
#!/usr/bin/env python |
|
| 2 |
# -*- coding: utf-8 -*- |
|
| 3 | 3 |
""" |
| 4 | 4 |
: << =cut |
| 5 | 5 |
|
Formats disponibles : Unified diff