Skip to content

Commit 0534d6b

Browse files
committed
Update to support the latest aws-cli
1 parent 8950f03 commit 0534d6b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

awsshell/makeindex.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,12 @@
55

66
from six import BytesIO
77
from docutils.core import publish_string
8-
from botocore.docs.bcdoc import textwriter
98
import awscli.clidriver
109
from awscli.argprocess import ParamShorthandDocGen
10+
try:
11+
from botocore.docs.bcdoc import textwriter
12+
except ImportError:
13+
from awscli.bcdoc import textwriter
1114

1215
from awsshell import determine_doc_index_filename
1316
from awsshell.utils import remove_html

0 commit comments

Comments
 (0)