Incorrect documentation for Location.__init__

Bug #1239387 reported by Torbjörn Lönnemark
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released
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]

Revision history for this message
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  
Everyone can see this information.

Other bug subscribers