Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Put English version first in list #42

Merged
merged 4 commits into from
Sep 16, 2016
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
refs #42 -- more clever exclusion of ".files"
brunobord committed Sep 16, 2016

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit b6fccecdea0720adbd648af1ba7bc4d66fc7794f
2 changes: 1 addition & 1 deletion toolbox/__init__.py
Original file line number Diff line number Diff line change
@@ -23,7 +23,6 @@
class Builder(object):

exceptions = (
'.tox', '.git', '.github', '.cache',
'build', 'static', 'templates', 'tests',
)

@@ -48,6 +47,7 @@ def git_version(self):
def dir_list(self):
dir_list = [d for d in os.listdir('.') if d not in self.exceptions]
dir_list = filter(lambda x: os.path.isdir(x), dir_list)
dir_list = filter(lambda x: not x.startswith('.'), dir_list)
return dir_list

def get_template(self, path):