Modify

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#5448 closed enhancement (wontfix)

version for pyhton 2.3

Reported by: fane.legall@… Owned by: eblot
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 5 years ago by eblot

  • Resolution set to wontfix
  • Status changed from new to closed

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 follow-up: Changed 5 years ago by eblot

  • Severity changed from blocker to normal

comment:3 in reply to: ↑ 2 Changed 5 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

Add Comment

Modify Ticket

Action
as closed The owner will remain eblot.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.