Ticket #3288 enhancement closed fixed

Opened 5 years ago

Last modified 5 years ago

ampserver.py divide is broken

Reported by: davep Owned by:
Priority: normal Milestone:
Component: core Keywords:
Cc: Branch:
Author: Launchpad Bug:

Description

The ampserver.py example code is broken for the divide case.

1. The variable is misnamed at one point.

2. The result isn't necessarily a floating point value.

Attachments

0001-Fix-example.patch Download (0.9 KB) - added by davep 5 years ago.

Change History

Changed 5 years ago by davep

1

Changed 5 years ago by exarkun

  • status changed from new to closed
  • resolution set to fixed

(In [23920]) Apply 0001-Fix-example.patch

Author: davep Reviewer: exarkun Fixes: #3288

Change the ampserver example to always do float division and to use the correct name when returning the result of the Divide command.

2

Changed 2 years ago by <automation>

  • owner glyph deleted
Note: See TracTickets for help on using tickets.