anton-golubkov/Garland — Issue #2: [Design error] IPFBlock type member duplicate __name__ member.
Author: anton-golubkov
Created: 2011-10-12 13:15:12+00:00
State: open

class IPFBlock(object):
type = "IPFBlock"

type member duplicate IPFBlock.__name__

In type member used in GUI and save/load functions and used as class name in some cases
Change type string to some other text instead class name will produce bugs in code.

Possible solution: change type member to block_name and don`t use it as class name.