Skip to content

Instantly share code, notes, and snippets.

@hynek
Created July 15, 2013 07:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hynek/5998087 to your computer and use it in GitHub Desktop.
Save hynek/5998087 to your computer and use it in GitHub Desktop.
$ 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