Bug#600038: snapshot.debian.org: [squeeze] DeprecationWarning: pylons.g is deprecated
On Tue, 12 Oct 2010, Yaroslav Halchenko wrote:
> on squeeze with python-pylons 0.10-1 I observe DeprecationWarnings:
> ==> error.log <==
> [Tue Oct 12 22:25:58 2010] [error] /srv/snapshot-neuro.debian.net/web-app/lib/python2.6/site-packages/snapshot/controllers/package.py:126: DeprecationWarning: pylons.g is deprecated. Your project should import
> pylons.app_globals If desired, it can be imported as 'g', but its recommended to refer to it as app_globals for clarity
> [Tue Oct 12 22:25:58 2010] [error] sourcefiles = g.shm.packages_get_source_files(self._db(), source, version)
> [Tue Oct 12 22:25:58 2010] [error] /srv/snapshot-neuro.debian.net/web-app/lib/python2.6/site-packages/snapshot/controllers/package.py:127: DeprecationWarning: pylons.g is deprecated. Your project should import
> pylons.app_globals If desired, it can be imported as 'g', but its recommended to refer to it as app_globals for clarity
> [Tue Oct 12 22:25:58 2010] [error] binpkgs = g.shm.packages_get_binpkgs_from_source(self._db(), source, version)
So, sibelius is now also squeeze. Any idea how we can reproduce these
warnings?
Cheers,
weasel
--
| .''`. ** Debian GNU/Linux **
Peter Palfrader | : :' : The universal
http://www.palfrader.org/ | `. `' Operating System
| `- http://www.debian.org/
Reply to: