pdb.set_trace() in mediagoblin code is Not Allowed(TM), removing from audio code
authorChristopher Allan Webber <cwebber@dustycloud.org>
Sun, 3 Mar 2013 16:38:06 +0000 (10:38 -0600)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Sun, 3 Mar 2013 16:38:06 +0000 (10:38 -0600)
Of course, the version that appears here is not really dangerous
because it's for the "call the file individually" form of debugging,
but it isn't allowed anyway.

This commit sponsored by Michael Faryniarz.  Thanks!

mediagoblin/media_types/audio/transcoders.py

index f3d49c309edf06b735f2cb0038432e31351bb5df..3a9a2125391142ed41c165afadf0ec082f2e89a0 100644 (file)
@@ -14,7 +14,6 @@
 # You should have received a copy of the GNU Affero General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-import pdb
 import logging
 import Image
 
@@ -233,5 +232,3 @@ if __name__ == '__main__':
     thumbnailer = AudioThumbnailer()
 
     thumbnailer.spectrogram(*sys.argv[1:], width=640)
-
-    pdb.set_trace()