aklyuk / zabbix-ibm-storwize

Python script for monitoring IBM Storwize storages
15 stars 20 forks source link

Fix "TabError: inconsistent use of tabs and spaces in indentation" #12

Open tariqahmed1912 opened 3 years ago

tariqahmed1912 commented 3 years ago

On running the python script, it raises an error due to usage of both tabs and spaces for indentation. It is recommended by the Python styleguide (PEP 8) to never mix tabs and spaces.

To resolve this error, you can replace the spaces with tabs by running the following command in Linux or MacOS systems:

sed -e 's/ /\t/g' ./storwize_get_state.py > storwize_get_state.py