Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

14 lines (11 sloc) 0.353 kb
import os.path
def load_from_search_strings_file():
f = None
try:
f = open(os.path.join(os.path.dirname(__file__), 'search_strings.txt'))
ss = f.readlines()
finally:
if f:
f.close()
return [s.strip() for s in ss if not s.startswith('#')]
search_strings = load_from_search_strings_file()
Jump to Line
Something went wrong with that request. Please try again.