~rockstar/entertainer/package-structure-apocalypse

« back to all changes in this revision

Viewing changes to entertainerlib/weather.py

  • Committer: Paul Hummer
  • Date: 2009-05-10 17:36:49 UTC
  • mfrom: (360.1.3 entertainer-future)
  • Revision ID: paul@eventuallyanyway.com-20090510173649-0odjpoqifn303t46
Merged from entertainer-future

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2
1
2
"""
2
3
Weather Class
3
4
  Uses google weathers api to get a weather forecast for the next
4
5
  4 days.
5
6
"""
6
 
__licence__ = "GPLv2"
7
 
__copyright__ = ("2008, Jamie Bennett", "2008, Samuel Buffet")
8
 
__author__ = ("Jamie Bennett <jamie@linuxuk.org>", "Samuel Buffet")
9
7
 
10
8
import locale
11
9
import urllib2
35
33
class Weather:
36
34
    """
37
35
    Weather class
38
 
    @author: Jamie Bennett <jamie@linuxuk.org>
39
36
    """
40
37
 
41
38
    def __init__(self, location=""):