Re: sysutils/tentakel - DeprecationWarning messages and patch

2010-10-20 Thread Tasmanian Devil
Am 20.10.10 02:35, schrieb Federico G. Schwindt: > On Tue, Oct 19, 2010 at 08:46:38PM +0200, David Coppa wrote: >> On Tue, Oct 19, 2010 at 8:40 PM, Tasmanian Devil >> wrote: >> >>> Ok, I tried to find out how to do this and how to make a proper >>> "all-in-one" patch. I have no idea if the changes

Re: sysutils/tentakel - DeprecationWarning messages and patch

2010-10-19 Thread Federico G. Schwindt
On Tue, Oct 19, 2010 at 08:46:38PM +0200, David Coppa wrote: > On Tue, Oct 19, 2010 at 8:40 PM, Tasmanian Devil > wrote: > > > Ok, I tried to find out how to do this and how to make a proper > > "all-in-one" patch. I have no idea if the changes I made are correct > > Python, but the result seems

Re: sysutils/tentakel - DeprecationWarning messages and patch

2010-10-19 Thread Federico G. Schwindt
On Wed, Oct 20, 2010 at 12:26:21AM +0100, Stuart Henderson wrote: > On 2010/10/19 23:54, Federico G. Schwindt wrote: > > > [..] > > > For md5, since we don't have to worry about Python 2.4, we can > > > just do this: > > > > why is that? > > hashlib was added in 2.5, so we only need to fallback

Re: sysutils/tentakel - DeprecationWarning messages and patch

2010-10-19 Thread Stuart Henderson
On 2010/10/19 23:54, Federico G. Schwindt wrote: > > [..] > > For md5, since we don't have to worry about Python 2.4, we can > > just do this: > > why is that? hashlib was added in 2.5, so we only need to fallback to the md5 module if we would want to be compatible with versions before that. th

Re: sysutils/tentakel - DeprecationWarning messages and patch

2010-10-19 Thread Federico G. Schwindt
> [..] > For md5, since we don't have to worry about Python 2.4, we can > just do this: why is that? f.-

Re: sysutils/tentakel - DeprecationWarning messages and patch

2010-10-19 Thread David Coppa
On Tue, Oct 19, 2010 at 8:40 PM, Tasmanian Devil wrote: > Ok, I tried to find out how to do this and how to make a proper > "all-in-one" patch. I have no idea if the changes I made are correct > Python, but the result seems to works fine for me so far. Please point > out any mistakes I made. Patc

Re: sysutils/tentakel - DeprecationWarning messages and patch

2010-10-19 Thread Tasmanian Devil
Am 19.10.10 15:30, schrieb Stuart Henderson: > On 2010/10/19 08:56, Jim Razmus wrote: >> I recommend you submit your patch to the tentakel project. We _could_ >> put it in the ports tree, but upstream is better in my opinion. > > It's dead upstream, they recommend using gsh instead. > > These wa

Re: sysutils/tentakel - DeprecationWarning messages and patch

2010-10-19 Thread Tasmanian Devil
2010/10/19 Stuart Henderson : > On 2010/10/19 15:11, Tasmanian Devil wrote: >> >> Yes, I thought about that, but I think as long as there's Python 2.6, >> the deprecated modules are still there, so it's ok for now and doesn't >> involve learning Python... ;-) > > upgrading something like python is

Re: sysutils/tentakel - DeprecationWarning messages and patch

2010-10-19 Thread Stuart Henderson
On 2010/10/19 15:11, Tasmanian Devil wrote: > > Yes, I thought about that, but I think as long as there's Python 2.6, > the deprecated modules are still there, so it's ok for now and doesn't > involve learning Python... ;-) upgrading something like python is a lot of work as it is, don't stack up

Re: sysutils/tentakel - DeprecationWarning messages and patch

2010-10-19 Thread Stuart Henderson
On 2010/10/19 08:56, Jim Razmus wrote: > I recommend you submit your patch to the tentakel project. We _could_ > put it in the ports tree, but upstream is better in my opinion. It's dead upstream, they recommend using gsh instead. These warnings mean "this port will be broken with a future updat

Re: sysutils/tentakel - DeprecationWarning messages and patch

2010-10-19 Thread Tasmanian Devil
2010/10/19 David Coppa : > On Tue, Oct 19, 2010 at 2:30 PM, Tasmanian Devil > wrote: >> Hello, list! >> >> Since the upgrade to Python 2.6 sysutils/tentakel shows these warnings >> above the usual output: >> >> >> /usr/local/lib/python2.6/site-packages/lekatnet/config.py:55: >> DeprecationWarning:

Re: sysutils/tentakel - DeprecationWarning messages and patch

2010-10-19 Thread Tasmanian Devil
2010/10/19 Jim Razmus : > * Tasmanian Devil [101019 08:33]: >> Hello, list! >> >> Since the upgrade to Python 2.6 sysutils/tentakel shows these warnings >> above the usual output: >> >> >> /usr/local/lib/python2.6/site-packages/lekatnet/config.py:55: >> DeprecationWarning: The popen2 module is dep

Re: sysutils/tentakel - DeprecationWarning messages and patch

2010-10-19 Thread David Coppa
On Tue, Oct 19, 2010 at 2:30 PM, Tasmanian Devil wrote: > Hello, list! > > Since the upgrade to Python 2.6 sysutils/tentakel shows these warnings > above the usual output: > > > /usr/local/lib/python2.6/site-packages/lekatnet/config.py:55: > DeprecationWarning: The popen2 module is deprecated.  Us

Re: sysutils/tentakel - DeprecationWarning messages and patch

2010-10-19 Thread Jim Razmus
* Tasmanian Devil [101019 08:33]: > Hello, list! > > Since the upgrade to Python 2.6 sysutils/tentakel shows these warnings > above the usual output: > > > /usr/local/lib/python2.6/site-packages/lekatnet/config.py:55: > DeprecationWarning: The popen2 module is deprecated. Use the > subprocess

sysutils/tentakel - DeprecationWarning messages and patch

2010-10-19 Thread Tasmanian Devil
Hello, list! Since the upgrade to Python 2.6 sysutils/tentakel shows these warnings above the usual output: /usr/local/lib/python2.6/site-packages/lekatnet/config.py:55: DeprecationWarning: The popen2 module is deprecated. Use the subprocess module. import popen2 /usr/local/lib/python2.6/site