Modify ↓
#5448 closed enhancement (wontfix)
version for pyhton 2.3
Reported by: | 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 15 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
comment:2 follow-up: 3 Changed 15 years ago by
Severity: | blocker → normal |
---|
comment:3 Changed 15 years ago by
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
Note: See
TracTickets for help on using
tickets.
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.