Commits

Konstantine Rybnikov committed 2c117a9

old uncommited small beautifies

Comments (0)

Files changed (2)

 
 Join me on jabber conference xmppflask@conference.jabber.org
 
-I am working on homepage at http://xmppflask.org .
+I am working on homepage at `http://xmppflask.org`_.
 
 ------
 Status
 Authors
 -------
 
-Main (and right now is the only) author is Kostya Rybnikov
-(`homepage in russian <http://redhotchilipython.com>`_).
+Main (and right now is the only) author is `Konstantine Rybnikov
+<http://redhotchilipython.com>`_.
 
 You could be the next one.
 
 Where to go next?
 -----------------
 
-Go to the introduction page!
+Go to the `docs <http://xmppflask.readthedocs.org>`_.

examples/pirate_weather/pirate_weather.py

     'Amsterdam': u"+23 sunny. ARRRGH!!",
 }
 
+
 def get_weather_for_city(city):
-	return (
+    return (
         weather_dict.get(
             city,
             u"Weather for %(city)s unknown. ARHG!!" % dict(city=city)))
 
+
 def get_weather_cities():
     return weather_dict.keys()
 
+
 @app.route('ping')
 def ping():
     return 'pong'
 
+
 @app.route('help')
 def help():
     return (u'Type "weather in <city_name>" to get weather in that city.\n'
             u'Type "cities" to get list of cities.')
 
+
 @app.route('cities')
 def cities():
     return u', '.join(get_weather_cities())
 
+
 @app.route('weather in <city>')
 def weather(city):
-	return get_weather_for_city(city)
+    return get_weather_for_city(city)