diff options
Diffstat (limited to 'CODING_GUIDELINES.md')
-rw-r--r-- | CODING_GUIDELINES.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/CODING_GUIDELINES.md b/CODING_GUIDELINES.md index 701eb02fb4..60bf41ea65 100644 --- a/CODING_GUIDELINES.md +++ b/CODING_GUIDELINES.md @@ -277,7 +277,8 @@ To test if something is a string, consider that it may be unicode. if type(x) == str: # yes - if isinstance(x, basestring): + from ansible.compat.six import string_types + if isinstance(x, string_types): Cleverness ========== |