aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2012-10-08 18:22:13 +0200
committerMattias Andrée <maandree@operamail.com>2012-10-08 18:22:13 +0200
commit5c736f63ae56b4a1ee464dd39e26315d3b95cfd1 (patch)
tree3da69bdac246aa64f46091ecf411ee6dafc5c294
parent4ea588f966d2911be4f4b1c3bb9be59c01d3cc2a (diff)
downloadponysay-5c736f63ae56b4a1ee464dd39e26315d3b95cfd1.tar.gz
ponysay-5c736f63ae56b4a1ee464dd39e26315d3b95cfd1.tar.bz2
ponysay-5c736f63ae56b4a1ee464dd39e26315d3b95cfd1.zip
syntax fix
-rwxr-xr-xponysay.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ponysay.py b/ponysay.py
index 71ea42e..793e31b 100755
--- a/ponysay.py
+++ b/ponysay.py
@@ -1750,7 +1750,7 @@ class SpelloCorrecter: # Naïvely and quickly proted and adapted from optimised
self.dictionary[-1] = previous;
for directory in directories:
- for filename : os.listdir(directory):
+ for filename in os.listdir(directory):
if (not endswith(filename, ending)) or (len(filename) - len(ending) > 127):
continue
proper = filename[:-len(ending)]