Skip to content
This repository was archived by the owner on Nov 22, 2024. It is now read-only.

Commit 16129a3

Browse files
committed
removed requirement for logger package as its not used. changed Logger class to CFlogger to remove confusion - issues/30
1 parent 90e3ea5 commit 16129a3

5 files changed

Lines changed: 6 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Change Log
22

3+
- 2017-08-23 02:25:51 -0700 [90e3ea5](https://github.com/cloudflare/python-cloudflare/commit/90e3ea57e473b2cf332b7cc5ed22d5bf66ffe36a) added a delete dns record example - issues/33
34
- 2017-08-22 05:10:15 -0700 [3fc396c](https://github.com/cloudflare/python-cloudflare/commit/3fc396cb685bf57ce094299a7505216d78624ac2) missing chmod +x on examples/example_paging_thru_zones.py
45
- 2017-08-22 05:09:21 -0700 [1e13e8d](https://github.com/cloudflare/python-cloudflare/commit/1e13e8d5cbbe0c37f0a9d563869d51d91858cd50) CHANGELOG.md pushed to github
56
- 2017-08-22 04:51:51 -0700 [3a03516](https://github.com/cloudflare/python-cloudflare/commit/3a035163d3613756e8bb3e4bc26fb3642091861c) CHANGELOG.md pushed to github

CloudFlare/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
""" Cloudflare v4 API"""
22
from __future__ import absolute_import
33

4-
__version__ = '1.6.0'
4+
__version__ = '1.6.1'
55

66
from .cloudflare import CloudFlare
77

CloudFlare/cloudflare.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import json
55
import requests
66

7-
from .logger import Logger
7+
from .logging_helper import CFlogger
88
from .utils import user_agent, sanitize_secrets
99
from .read_configs import read_configs
1010
from .api_v4 import api_v4
@@ -30,7 +30,7 @@ def __init__(self, email, token, certtoken, base_url, debug, raw):
3030
self.user_agent = user_agent()
3131

3232
if debug:
33-
self.logger = Logger(debug).getLogger()
33+
self.logger = CFlogger(debug).getLogger()
3434
else:
3535
self.logger = None
3636

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
DEBUG = 0
55
INFO = 1
66

7-
class Logger(object):
7+
class CFlogger(object):
88
""" Logging for Cloudflare API"""
99

1010
def __init__(self, level):

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def main():
3232
#package_data={'cloudflare-examples': ["examples/*"]},
3333
include_package_data=True,
3434
#data_files = [('man/man1', ['cli4/cli4.man'])],
35-
install_requires=['requests', 'logger', 'future', 'pyyaml'],
35+
install_requires=['requests', 'future', 'pyyaml'],
3636
keywords='cloudflare',
3737
entry_points={
3838
'console_scripts': [

0 commit comments

Comments
 (0)