Tobias Klausmann
Sun, 12 Jul 2009 08:56:54 -0700
Hi! On Sun, 12 Jul 2009, Sebastian Pipping wrote: > Tobias Klausmann wrote: > > /home/klausman/tmp/smolt-gentoo/client/distros/gentoo/globaluseflags.py:22: > > DeprecationWarning: the sets module is deprecated > > I'm looking for advice how to best handle this. > > @all > If you read this and know how please contact me!
You could make that import conditional on sys.version_info. I.e.
only import it if you need it (neither Python 2.5.4 nor later
versions need that import to make sets work, the specifics are
documented on python.org).
Regards & HTH,
Tobias
--
printk (KERN_DEBUG "Somebody wants the port\n");
linux-2.6.6/drivers/parport/parport_pc.c