firstprayer / monsql

MonSQL - Light-weighted, MongoDB-style Wrapper for multiple Relational Databases
MIT License
2 stars 2 forks source link

Some minor corrections #12

Closed GochoMugo closed 9 years ago

GochoMugo commented 9 years ago

License Information has been updated.

As commented in commit 1b90019:

An empty dictionary evaluates to False in a boolean context. If not empty it evaluates to True instead. Using if a_dict: ... is pythonic rather than being explicit.

For more information, see https://www.python.org/dev/peps/pep-0008/#programming-recommendations

firstprayer commented 9 years ago

Very considerate. Thanks :)