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/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