lisa-lab/pylearn2 — pull request #1178 by JesseLivezey (2014-10-14 02:35:30+00:00)
Title: fixed get_layer_monitoring_channels in flattenerlayer and added test

FlattenerLayer.get_layer_monitoring_channels was failing when targets was None. I added a check for targets and also added a unit test for get_layer_monitoring_channels.