Incorrect documentation for Location.__init__

Bug #1239387 reported by Torbjörn Lönnemark
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
astral
Fix Released
Low
Simon Kennedy

Bug Description

The documentation states that (astral.py:489):

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 (astral.py:529):

                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

Remote bug watches

Bug watches keep track of this bug in other bug trackers.