knock icon indicating copy to clipboard operation
knock copied to clipboard

python 3 error

Open LocutusOfBorg opened this issue 10 years ago • 1 comments

Hi Gianni, can you please fix this error?

byte-compiling /home/locutus/branches/ongoing/knock/debian/python3-knockpy/usr/lib/python3.4/dist-packages/knockpy/modules/wordlist.py to wordlist.cpython-34.pyc
  File "/usr/lib/python3.4/dist-packages/knockpy/modules/wordlist.py", line 37
    print font.color('red')+'\nwarning: wordlist not found '+local_wlist+font.color('end')
             ^
SyntaxError: invalid syntax

byte-compiling /home/locutus/branches/ongoing/knock/debian/python3-knockpy/usr/lib/python3.4/dist-packages/knockpy/modules/core.py to core.cpython-34.pyc
  File "/usr/lib/python3.4/dist-packages/knockpy/modules/core.py", line 67
    print headers.target(domain)
                ^
SyntaxError: invalid syntax

also the setup file line 62 should mention python3.

thanks

LocutusOfBorg avatar Apr 17 '15 14:04 LocutusOfBorg

I guess this might be fixed with #10

still needs to be addressed the setup.py file (line 62 mention of python 3) and maybe rename of CHANGELOG.rst into CHANGELOG :)

LocutusOfBorg avatar Apr 17 '15 19:04 LocutusOfBorg