~divmod-dev/divmod.org/pyflakes-0.3.0-release

Viewing all changes in revision 2584.

  • Committer: glyph
  • Date: 2009-01-14 05:21:23 UTC
  • Revision ID: svn-v4:866e43f7-fbfc-0310-8f2a-ec88d1da2979:trunk:17127
Prohibit non-administrative users from directly manipulating the illumination level.

Author: glyph

Reviewer: exarkun

Fixes #2603

This changes the actor interface of the first administrative command, 'illuminate', to be `IManipulator` rather than the standard `IActor`, and moves the logic of changing the illumination level into the model and out of the action.

(It also adds a bunch of useful docstrings for unrelated functionality, that I had to investigate in order to fix the issue in question.)

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: