[scanner] Make it compatible with Python 2.5 again
authorJohan Dahlin <johan@gnome.org>
Tue, 7 Sep 2010 13:39:55 +0000 (10:39 -0300)
committerJohan Dahlin <johan@gnome.org>
Tue, 7 Sep 2010 13:43:08 +0000 (10:43 -0300)
commit2eb614e805311841e17fd4dbe76aa70443f3a911
treea09ece5ee5b9f56941d2d4988398183baa05e779
parent073fba57af9e1286fdfdf5a40e66a279eaa4c123
[scanner] Make it compatible with Python 2.5 again

with statement is available in python 2.5, but only
if you import it from __future__
giscanner/codegen.py