henrikstranneheim/pScout — pull request #6 by moonso (2014-06-13 22:06:44+00:00)
Title: Feature/review code

Great that things are happening Henrik!
I've made some things more "pythonic":

- For building a mono db I think it is unnessesary with a new folder, moved the script to build/mongo.py
- We should use spaces instead of tabs otherwise we will get problem, see http://legacy.python.org/dev/peps/pep-0008/#tabs-or-spaces
- Removed function listobject_to_list, perfect place to use list comprehension
- Think it is a bit confusing to use the variable name "array", array is a speciall data type that is (rarely)[http://stackoverflow.com/questions/176011/python-list-vs-array-when-to-use] used

Keep up the intensity! :)