# HG changeset patch # User Catalin Costache # Date 1387753372 -7200 # Node ID c397a6b5b2d111792be55eafd09505d63c8e597d # Parent de2735512614514eade4c771f56ab7b97e10a0fd python3 compatibility fix From [P3 what's new page](http://docs.python.org/3.0/whatsnew/3.0.html) string.letters and its friends (string.lowercase and string.uppercase) are gone. Use string.ascii_letters etc. instead. (The reason for the removal is that string.letters and friends had locale-specific behavior, which is a bad idea for such attractively-named global “constants”.) diff -r de2735512614 -r c397a6b5b2d1 ffind --- a/ffind Sat Nov 24 13:41:51 2012 -0500 +++ b/ffind Mon Dec 23 01:02:52 2013 +0200 @@ -699,7 +699,7 @@ """ - return not all(c.lower() in string.letters + '_-' for c in s) + return not all(c.lower() in string.ascii_letters + '_-' for c in s) def clean_ago_piece(n, unit):