From 23bc6e70bb2da6a15e845f435ac24c0f434e8e16 Mon Sep 17 00:00:00 2001 From: Rafael Ortiz Date: Fri, 17 Feb 2012 16:31:56 +0000 Subject: cleaning debug code --- (limited to 'library/pippy/sound.py') diff --git a/library/pippy/sound.py b/library/pippy/sound.py index e961dcd..ecda1be 100755 --- a/library/pippy/sound.py +++ b/library/pippy/sound.py @@ -26,26 +26,20 @@ path = activity.get_bundle_path() path = path.split("/" )[0:-1] path = "/".join(path) -#ff = open("/tmp/rafael.txt", "a") -ff.write(path + "\n") for f in os.listdir(path): - #ff.write(f + "\n") if f == 'TamTamEdit.activity': bundle_dir = os.path.join(path, f) tamtam_subdir = str(os.path.join(bundle_dir, 'common', 'Resources', 'Sounds')) sound_candidate_dirs = [ os.path.expandvars('$SUGAR_PATH/activities') + tamtam_subdir, - #sugar.env.get_user_activities_path() + tamtam_subdir tamtam_subdir ] - ff.write(str(sound_candidate_dirs) + "\n") orchlines = [] scorelines = [] instrlist = [] fnum = [100] -ff.close() """XXX: This function seems to be broken. (CSA) def quit(self): perf.Stop() -- cgit v0.9.1