Projet

Général

Profil

Révision 7063330e

ID7063330e031922c63012990543e917a5d85cd25d
Parent 73f885e3
Enfant 86bee016

Ajouté par Lars Kruse il y a presque 6 ans

Fix python style issues reported by flake8

Additionally some python2-only "print" statements are now compatible
with python3.

Voir les différences:

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