rm temporary variable
rm empty line
use string formatting
no mutable default keyword args
static attribute can be defined on the class level
avoid choking on JSON in case the response that comes back is not successful
remove redundant emptiness check of kwargs before update
apply e065056d597dc94ac3309af8582069bffcdfb276 to master
Merge pull request #1 from attilaolah/master

Fixes