Variable "ret" referenced before assignment
authorDaniel Dehennin <daniel.dehennin@ac-dijon.fr>
Tue, 29 Jan 2013 14:21:31 +0000 (15:21 +0100)
committerDaniel Dehennin <daniel.dehennin@ac-dijon.fr>
Tue, 29 Jan 2013 14:21:31 +0000 (15:21 +0100)
commitf267073e0d03140fa3fc48aabc1d94465fbc2ec8
tree38e2c177395855c10b1d6c7fa9f2b0b3fff95477
parente2a02c5b7ab6e3c5f5b3bb6319213faef2d20642
Variable "ret" referenced before assignment

Variable defined in sub-scope ("for", "if") are not defined above.

* tiramisu/option.py (Multi.append): Define "ret" to None.

* tiramisu/option.py (Multi._setvalue): Ditoo.

* tiramisu/option.py (Multi.pop): Ditoo.
tiramisu/option.py