Skip to content

Commit 7e76e7e

Browse files
author
Josh Mervine
committed
Fixing error in examples.
1 parent 37cdea9 commit 7e76e7e

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

examples/report.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
#!/usr/bin/env python
22
import pprint as pp
3-
from os import environ as env
4-
from maxcdn import MaxCDN
3+
from textwrap import dedent
4+
from os import environ as env
5+
from maxcdn import MaxCDN
56

67
try:
78
report = "/"+argv[1]

examples/simple.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
#!/usr/bin/env python
22
import pprint as pp
3-
from os import environ as env
4-
from maxcdn import MaxCDN
3+
from os import environ as env
4+
from maxcdn import MaxCDN
5+
from textwrap import dedent
56

67
if not "ALIAS" in env or not "KEY" in env or not "SECRET" in env:
78
print(dedent("""\

0 commit comments

Comments
 (0)