I fixed that in SVN earlier today. :-/ Try this, it will work around that problem:
python -c 'import cups, ppds;c=cups.Connection();a=c.getPPDs();p=ppds.PPDs(a);print p.getPPDNameFromDeviceID("Canon","iP3000","Canon iP3000",uri='foo')'
I fixed that in SVN earlier today. :-/ Try this, it will work around that problem:
python -c 'import cups, ppds;c= cups.Connection ();a=c. getPPDs( );p=ppds. PPDs(a) ;print p.getPPDNameFro mDeviceID( "Canon" ,"iP3000" ,"Canon iP3000",uri='foo')'