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

Commit 37ddc7e

Browse files
committed
removed import CloudFlare.exceptions from examples - as per @yesbox edits for python3
1 parent 08aafa4 commit 37ddc7e

12 files changed

+0
-12
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,6 @@ A more complex example follows.
120120

121121
```python
122122
import CloudFlare
123-
import CloudFlare.exceptions
124123

125124
def main():
126125
zone_name = 'example.com'

examples/example_are_zones_ipv6.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
sys.path.insert(0, os.path.abspath('..'))
88
import CloudFlare
9-
import CloudFlare.exceptions
109

1110
def main():
1211
"""Cloudflare API code - example"""

examples/example_certificates.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
sys.path.insert(0, os.path.abspath('..'))
99
import CloudFlare
10-
import CloudFlare.exceptions
1110

1211
def main():
1312
"""Cloudflare API code - example"""

examples/example_create_zone_and_populate.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
sys.path.insert(0, os.path.abspath('..'))
88
import CloudFlare
9-
import CloudFlare.exceptions
109

1110
def main():
1211
"""Cloudflare API code - example"""

examples/example_dnssec_settings.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
sys.path.insert(0, os.path.abspath('..'))
88
import CloudFlare
9-
import CloudFlare.exceptions
109

1110
def main():
1211
"""Cloudflare API code - example"""

examples/example_ips.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
sys.path.insert(0, os.path.abspath('..'))
88
import CloudFlare
9-
import CloudFlare.exceptions
109

1110
def main():
1211
"""Cloudflare API code - example"""

examples/example_paging_thru_zones.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
sys.path.insert(0, os.path.abspath('..'))
88
import CloudFlare
9-
import CloudFlare.exceptions
109

1110
def main():
1211
cf = CloudFlare.CloudFlare(raw=True)

examples/example_proxied.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
sys.path.insert(0, os.path.abspath('..'))
88
import CloudFlare
9-
import CloudFlare.exceptions
109

1110
def main():
1211
"""Change the proxied value on a FQDN"""

examples/example_settings.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
sys.path.insert(0, os.path.abspath('..'))
88
import CloudFlare
9-
import CloudFlare.exceptions
109

1110
def main():
1211
"""Cloudflare API code - example"""

examples/example_update_dynamic_dns.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010
sys.path.insert(0, os.path.abspath('..'))
1111
import CloudFlare
12-
import CloudFlare.exceptions
1312

1413
def my_ip_address():
1514
"""Cloudflare API code - example"""

0 commit comments

Comments
 (0)