summaryrefslogtreecommitdiffstats
path: root/CODING_GUIDELINES.md
diff options
context:
space:
mode:
authorsatoru <satorulogic@gmail.com>2014-02-10 02:12:38 +0100
committersatoru <satorulogic@gmail.com>2014-02-10 02:12:38 +0100
commit02c7c9cb18ffccafbd72f757b75e8a2d4a7872dd (patch)
tree67d1f4b308f8a3c298ed1832b0da2f7d4abd93c8 /CODING_GUIDELINES.md
parentMerge pull request #5883 from amirhhz/improve-ec2-module-docs (diff)
downloadansible-02c7c9cb18ffccafbd72f757b75e8a2d4a7872dd.tar.xz
ansible-02c7c9cb18ffccafbd72f757b75e8a2d4a7872dd.zip
Fix typo
Diffstat (limited to 'CODING_GUIDELINES.md')
-rw-r--r--CODING_GUIDELINES.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/CODING_GUIDELINES.md b/CODING_GUIDELINES.md
index d6cf56813f..d0edc7992f 100644
--- a/CODING_GUIDELINES.md
+++ b/CODING_GUIDELINES.md
@@ -262,7 +262,7 @@ To test if something is a string, consider that it may be unicode.
if type(x) == str:
# yes
- if isintance(x, basestr):
+ if isintance(x, basestring):
Cleverness
==========
@@ -288,7 +288,7 @@ All code in Ansible core must support a minimum version of Python 2.6.
Module code must support a minimum of Python 2.4, with occasional exception for modules that require code that themselves require 2.6 and later.
-A quick reminder is that list comprehensions in Python 2.4 are not as fully fleshed out, there are not 'dict' comprehensions, and there is no 'with' statement.
+A quick reminder is that list comprehensions in Python 2.4 are not as fully fleshed out, there are no 'dict' comprehensions, and there is no 'with' statement.
But otherwise it's pretty much all the same.
The End