Modify

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#5448 closed enhancement (wontfix)

version for pyhton 2.3

Reported by: fane.legall@… Owned by: Emmanuel Blot
Priority: high Component: RevtreePlugin
Severity: normal Keywords: python
Cc: Trac Release: 0.11

Description

hi, as revtree is using @staticmethod in the pyhton scripts, revtree is not compatible with python 2.3 (model.py, line 48 for example) is there a possibility to transform the python script in order to be compatible with old python version ?

bg

Attachments (0)

Change History (3)

comment:1 Changed 8 years ago by Emmanuel Blot

Resolution: wontfix
Status: newclosed

You'll have to edit the code and replace the staticmethod decorator with the old Python syntax

Check out http://docs.python.org/glossary.html#term-decorator

I won't add support for ancient Python releases (Python 2.3 is 6 years old...) but it should be easy to downgrade this part of the code.

comment:2 Changed 8 years ago by Emmanuel Blot

Severity: blockernormal

comment:3 in reply to:  2 Changed 8 years ago by fane.legall@…

thx,for ur helpfull information unfortunetly, I could not upgrade easly to a recent python on my very old server, so I 'm going to patch the code using the information u gave me.

bg

I

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Emmanuel Blot.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.