flipkart-incubator / Astra

Automated Security Testing For REST API's
Apache License 2.0
2.49k stars 394 forks source link

print "Failed to update DB" #114

Closed balagpy closed 2 months ago

balagpy commented 3 years ago

Hi Team,

I am facing the following issue.

File "api.py", line 95 print "Failed to update DB" ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Failed to update DB")?

Niba-nazar commented 1 year ago

Hi,

I am also facing the same issue, Please assist

root@niba:~/Astra# python3 astra.py --help
  File "/root/Astra/astra.py", line 46
    print"[-]Failed to Parse collection"
         ^
SyntaxError: invalid syntax
root@niba:~/Astra# cd API/
root@niba:~/Astra/API# python api.py
  File "api.py", line 95
    print"Failed to update DB"
         ^
SyntaxError: invalid syntax
S-Surya commented 2 months ago

Closing the issue since this is fixed with Python 3 migration