foobarlab / UpStage-Video-Hack

UpStage Streaming Hack
http://www.foobarlab.net/
GNU General Public License v2.0
5 stars 1 forks source link

Function return types are inconsistent in pages.py #23

Open foobarlab opened 11 years ago

foobarlab commented 11 years ago

See: https://github.com/foobarlab/UpStage/blob/master/server/src/upstage/pages.py#L1637-L1641

Possible bug: the return value is expected to be a childClass instance, but an AdminError is returned. Would it be better to just "throw" the AdminError instead of returning it?