rjurney / Agile_Data_Code_2

Code for Agile Data Science 2.0, O'Reilly 2017, Second Edition
http://bit.ly/agile_data_science
MIT License
456 stars 307 forks source link

File "/home/ubuntu/Agile_Data_Code_2/ch06/web/search_helpers.py", line 28 except AttributeError, e: #29

Closed kelvinksau closed 7 years ago

kelvinksau commented 7 years ago

File "report_flask.py", line 9, in import search_helpers File "/home/ubuntu/Agile_Data_Code_2/ch06/web/search_helpers.py", line 28 except AttributeError, e:


In python3 the raise syntax no longer accepts comma-separated arguments.

Use as instead:

rjurney commented 7 years ago

Thanks you, resolved in https://github.com/rjurney/Agile_Data_Code_2/commit/19de9d4f01266f95c03f85e8534d7c81545bf5a0