Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#7 Use "pass" for empty blocks in python

open
nobody
None
5
2012-12-05
2005-02-28
Michael D. Adams
No

In python the way to designate an empty block is with
the "pass" statement. This patch updates
cel/scripts/smallgame/actor.py to use that instead of a
hack that has the same effect.

This patch has not been tested as I am having an
unrelated problem with the install target. Someone
with a working install of CEL can test it or if I later
get CEL installed I will post a confirmation that it
works. Regardless I have a very high level of
confidence that it works.

Discussion

  • Changes a hacked empty block into the standard python "pass"

     
    Attachments