Update lang.py

avoid raise an exception when there are some spaces between the property and colon.