Incorrect documentation for Location.__init__

Bug #1239387 reported by Torbjörn Lönnemark on 2013-10-13
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Simon Kennedy

Bug Description

The documentation states that (

The tuple should contain items in the following order
elevation 24
time zone name Europe/London

But the actual code expects those to values to be in the opposite order (

                self.timezone = info[4]
                self.elevation = info[5]

Torbjörn Lönnemark (tobbez) wrote :
description: updated
Changed in astral:
importance: Undecided → Low
status: New → In Progress
assignee: nobody → Simon Kennedy (sffjunkie)
Changed in astral:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers