]> kaliko git repositories - mpd-sima.git/blobdiff - sima/utils/leven.py
doc: Fixed filter
[mpd-sima.git] / sima / utils / leven.py
index ab6fc35acac6e3864ea64426a4ab67bee5ba7e8a..d1ba2740c966cca475c11c42e5af21c5f6769b52 100644 (file)
@@ -1,5 +1,5 @@
 # -*- coding: utf-8 -*-
-# Copyright (c) 2009, 2010, 2013 Jack Kaliko <kaliko@azylum.org>
+# Copyright (c) 2009, 2010, 2013 kaliko <kaliko@azylum.org>
 #
 #  This file is part of sima
 #
@@ -18,6 +18,7 @@
 #
 """Computes levenshtein distance/ratio"""
 
+
 def levenshtein(a_st, b_st):
     """Computes the Levenshtein distance between two strings."""
     n_a, m_b = len(a_st), len(b_st)
@@ -38,6 +39,7 @@ def levenshtein(a_st, b_st):
 
     return current[n_a]
 
+
 def levenshtein_ratio(string, strong):
     """
     Compute levenshtein ratio.