DRY
```
def debug(data):
    if DEBUG:
        print(data)

# Usage
debug("DELETE {0}".format(API_ROOT + api))
```