Révision 7063330e
Fix python style issues reported by flake8
Additionally some python2-only "print" statements are now compatible
with python3.
| plugins/weather/weather_temp_ | ||
|---|---|---|
| 21 | 21 |
re_C = re.compile(r'Temperature:.*\((-?\d+\.?\d?) C\)') |
| 22 | 22 |
re_DewC = re.compile(r'Dew.*\((-?\d+\.?\d?) C\)') |
| 23 | 23 |
|
| 24 |
code = sys.argv[0][(sys.argv[0].rfind('_')+1):]
|
|
| 24 |
code = sys.argv[0][(sys.argv[0].rfind('_') + 1):]
|
|
| 25 | 25 |
|
| 26 | 26 |
|
| 27 | 27 |
if not code: |
Formats disponibles : Unified diff