Révision 17f78427
Whitespace cleanup
- remove trailing whitespace
- remove empty lines at the end of files
| plugins/cherokee/munin-plugin-for-cherokee | ||
|---|---|---|
| 82 | 82 |
base64string = base64.standard_b64encode('%s:%s' % (http_user, http_pass))
|
| 83 | 83 |
if len(http_user) > 0 and len(http_pass) > 0: |
| 84 | 84 |
#print "DEBUG: AUTH: " + base64string |
| 85 |
request.add_header("Authorization", "Basic %s" % base64string)
|
|
| 85 |
request.add_header("Authorization", "Basic %s" % base64string)
|
|
| 86 | 86 |
#print "DEBUG: GET: " + url |
| 87 | 87 |
raw_data = urllib2.urlopen(request).read() |
| 88 | 88 |
#print "DEBUG: " + raw_data |
| ... | ... | |
| 129 | 129 |
for key in section: |
| 130 | 130 |
print key + '.label ' + key.capitalize() |
| 131 | 131 |
print key + '.draw AREASTACK' |
| 132 |
|
|
| 132 |
|
|
| 133 | 133 |
if len(sys.argv) > 1 and sys.argv[1] == "config": |
| 134 | 134 |
munin_config(get_data()) |
| 135 | 135 |
else: |
Formats disponibles : Unified diff