Fixed pyflakes issue in discrete.