Révision 7063330e
Fix python style issues reported by flake8
Additionally some python2-only "print" statements are now compatible
with python3.
| plugins/weather/weather_press_ | ||
|---|---|---|
| 21 | 21 |
re_hpa = re.compile(r'Pressure.*\((\d+) hPa\)') |
| 22 | 22 |
|
| 23 | 23 |
|
| 24 |
code = sys.argv[0][(sys.argv[0].rfind('_')+1):]
|
|
| 24 |
code = sys.argv[0][(sys.argv[0].rfind('_') + 1):]
|
|
| 25 | 25 |
if not code: |
| 26 | 26 |
sys.exit(1) |
| 27 | 27 |
elif len(sys.argv) == 2 and sys.argv[1] == "autoconf": |
Formats disponibles : Unified diff