summaryrefslogtreecommitdiff
path: root/common/pkg/utils.py
diff options
context:
space:
mode:
authorVictor Shyba <victor.shyba@gmail.com>2015-10-28 17:58:27 -0300
committerVictor Shyba <victor.shyba@gmail.com>2015-11-03 12:41:37 -0300
commiteaf19626a57d5f5325653fee3aea9db27c9531fe (patch)
treefce19a8c6841a78698395e31306b5c31c9810e2b /common/pkg/utils.py
parent421691ef71019d0bcd4447a773efa5e9b15b0c71 (diff)
[refactor] resource logic encapsulation
Creating a resource from a path to use get_json causes a lot of dirty code and unexplained things like response[2]. This commit extracts that logic into a helper to let it more clear about what is happening.
Diffstat (limited to 'common/pkg/utils.py')
0 files changed, 0 insertions, 0 deletions