Révision 7063330e
Fix python style issues reported by flake8
Additionally some python2-only "print" statements are now compatible
with python3.
| plugins/bacula/bacula_sd | ||
|---|---|---|
| 91 | 91 |
|
| 92 | 92 |
# Get the current bytes |
| 93 | 93 |
if input_lines[pos].endswith("is mounted with:"):
|
| 94 |
bytes_count_text = input_lines[pos+5].split()[1].split("=")[1].replace(",", "")
|
|
| 94 |
bytes_count_text = input_lines[pos + 5].split()[1].split("=")[1].replace(",", "")
|
|
| 95 | 95 |
try: |
| 96 | 96 |
bytes_count = long(bytes_count_text) |
| 97 | 97 |
except NameError: |
Formats disponibles : Unified diff