Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

Commit

Permalink
fix: remove future dependency and imports
Browse files Browse the repository at this point in the history
  • Loading branch information
UsamaSadiq committed Feb 22, 2023
1 parent a887285 commit 144cc1e
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 13 deletions.
2 changes: 0 additions & 2 deletions CloudFlare/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
""" Cloudflare v4 API"""
from __future__ import absolute_import

__version__ = '2.11.1'

from .cloudflare import CloudFlare
Expand Down
2 changes: 0 additions & 2 deletions CloudFlare/cloudflare.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
""" Cloudflare v4 API"""
from __future__ import absolute_import

import json
import keyword
from requests import RequestException as requests_RequestException, ConnectionError as requests_ConnectionError, exceptions as requests_exceptions, codes as requests_codes
Expand Down
2 changes: 0 additions & 2 deletions CloudFlare/network.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
""" Network for Cloudflare API"""
from __future__ import absolute_import

import requests

from .exceptions import CloudFlareAPIError
Expand Down
2 changes: 0 additions & 2 deletions CloudFlare/utils.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
""" misc utilities for Cloudflare API"""
from __future__ import absolute_import

import sys
import json
from requests import __version__ as requests__version__
Expand Down
2 changes: 0 additions & 2 deletions cli4/__main__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#!/usr/bin/env python
"""Cloudflare API via command line"""
from __future__ import absolute_import

import sys

from .cli4 import cli4
Expand Down
2 changes: 0 additions & 2 deletions cli4/converters.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
"""Cloudflare API via command line"""
from __future__ import absolute_import

import CloudFlare

class ConverterError(Exception):
Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
requests>=2.4.2
future
pyyaml
jsonlines
beautifulsoup4

0 comments on commit 144cc1e

Please sign in to comment.