#69 Replace deprecated whrandom with random

closed-accepted
nobody
None
5
2005-02-11
2005-02-08
Ken Lalonde
No

The whrandom module, which is used by several parts of
Webware, has been deprecated for years.
The current version of python generates a
DeprecationWarning warning when the module is used,
which is annoying and frightens new Webware users.

The attached patch (relative to today's CVS) replaces
whrandom with random.

Discussion

  • Ken Lalonde
    Ken Lalonde
    2005-02-08

    Patch to current CVS

     
    Attachments
  • Ken Lalonde
    Ken Lalonde
    2005-02-11

    Logged In: YES
    user_id=203927

    Patch applied.

     
  • Ken Lalonde
    Ken Lalonde
    2005-02-11

    • status: open --> closed-accepted