Hi,

Actually, I can confirm this:

-----
[edward@localhost nessy]$ python2.4 nessy
Traceback (most recent call last):
  File "nessy", line 27, in ?
    from dep_check import Dep_check, version_check
  File "/data/software/nessy/nessy/dep_check.py", line 46
    class Dep_check():
                    ^
SyntaxError: invalid syntax
[edward@localhost nessy]$
-----


The following change should resolve the problem:

-----
[edward@localhost nessy]$ svn diff
Index: dep_check.py
===================================================================
--- dep_check.py        (revision 1072)
+++ dep_check.py        (working copy)
@@ -43,7 +43,7 @@



-class Dep_check():
+class Dep_check:
     """Class to check if dependencies are installed."""

     def __init__(self):
[edward@localhost nessy]$
-----

Though there will probably be other issues using such an ancient
Python version (it was first released on November 30, 2004).

Regards,

Edward




On 27 March 2012 14:12, Brian Smith <[email protected]> wrote:
>
> I see the same problem using python 2.4 on CentOS 5. I think you need python
> 2.6 or 2.7 for all the nessy stuff to work.
>
>
>> Traceback (most recent call last):
>>  File "/usr/share/nessy/nessy", line 27, in ?
>>   from dep_check import Dep_check, version_check
>>  File "/usr/share/nessy/dep_check.py", line 46
>>   class Dep_check():
>>                   ^
>> SyntaxError: invalid syntax
>
>
> _______________________________________________
> Nessy-users mailing list
> [email protected]
> https://mail.gna.org/listinfo/nessy-users

_______________________________________________
Nessy-users mailing list
[email protected]
https://mail.gna.org/listinfo/nessy-users

Reply via email to