← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 677867] Re: [extra-5.0 smile-action-trigger] incompatible with python 2.5

 

Hello Stefan,

I just commit your patch and some other fixes.
Thanks for your interest.

Cheers,
Corentin

-- 
[extra-5.0 smile-action-trigger] incompatible with python 2.5
https://bugs.launchpad.net/bugs/677867
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Addons Modules: Won't Fix

Bug description:
Hi,

by presupposing that inspect.getargspec returns a named tuple like it does in Python 2.6, the excellent smile-action-trigger module does not install properly anymore when using Python 2.5. The installation process dies with the message

    'tuple' object has no attribute 'args'

It would be nice to retain compatibility with Python 2.5 for the OpenERP 5-version of this module. This should be easy to accomplish by changing the way in which the tuple item is referred to from '.args' to [0].

Applies to stable_5.0-extra-addons, revision 4644.

Cheers,
Stefan.





References