[Sugar-devel] [PATCH Distance] Restore returned value of function accidentaly removed - SL #3072

Rafael Ortiz rafael at activitycentral.com
Fri Sep 2 13:11:43 EDT 2011


On Fri, Sep 2, 2011 at 9:42 AM, <godiard at sugarlabs.org> wrote:

> From: Gonzalo Odiard <godiard at gmail.com>
>
> Was removed in ca967f89dc3a649caca9ca1226d24fd03a14d25e
>
> Signed-off-by: Gonzalo Odiard <gonzalo at laptop.org>
> ---
>  arange.py |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/arange.py b/arange.py
> index 4a0e096..4704c83 100644
> --- a/arange.py
> +++ b/arange.py
> @@ -136,7 +136,7 @@ def write_wav(o):
>     q[::2] = o*255
>     q[1::2] = 128
>     w.writeframes(q.tostring())
> -    return
> +    return f
>
>  def play_wav_alsa(fname):
>     subprocess.call(["/usr/bin/aplay", fname])
> --
> 1.7.4.4
>
> Yep, I though I had fixed this one :(

Applied

http://git.sugarlabs.org/distance/distance/commit/9798734a9cea930249cc0858eb2739c2145f45e2

Thanks




> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20110902/56bc7087/attachment.html>


More information about the Sugar-devel mailing list