Created
July 15, 2013 07:38
-
-
Save hynek/5998087 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ffind '*anypattern*' | |
Traceback (most recent call last): | |
File "/usr/local/bin/ffind", line 843, in <module> | |
main() | |
File "/usr/local/bin/ffind", line 819, in main | |
if options.literal or not is_re(query): | |
File "/usr/local/bin/ffind", line 702, in is_re | |
return not all(c.lower() in string.letters + '_-' for c in s) | |
File "/usr/local/bin/ffind", line 702, in <genexpr> | |
return not all(c.lower() in string.letters + '_-' for c in s) | |
AttributeError: 'module' object has no attribute 'letters' | |
$ python --version | head -n 1 | |
Python 3.3.2 | |
$ head -n 1 `which ffind` | |
#!/usr/bin/env python |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment