From 6a6527e1f3f174af8d8ab6b9c9b7d7750ef8b026 Mon Sep 17 00:00:00 2001 From: Tomasz Melcer Date: Sun, 19 Aug 2007 20:01:38 +0000 Subject: [PATCH] Jingle: fix py2.5 construct --- src/common/jingle.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/common/jingle.py b/src/common/jingle.py index 10b9ce3ee..f5cbc0ec3 100644 --- a/src/common/jingle.py +++ b/src/common/jingle.py @@ -325,7 +325,10 @@ class JingleAudioSession(object): Codec('speex', clockrate='16000'), ] - other_l = other if other is not None else [] + if other is not None: + other_l = other + else: + other_l = [] our_l = supported_codecs[:] out = [] ids = range(128)