amoffat/pbs — Issue #34: DeprecationWarning with python26
Author: Yossi
Created: 2012-02-09 10:26:04+00:00
State: open

this code:

from pbs import find
print find('-name', '*.mp3')

gives this warning:

yossi@ubuntu3:~$ python test.py
/usr/local/lib/python2.6/dist-packages/pbs.py:207: DeprecationWarning: object.__init__() takes no parameters
partial.__init__(self, cmd)
<snip - paths to all the mp3s under my home directory>

using pbs 0.93 as obtained by pip install pbs