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

Move subcommand to dj.subcommand #6791

Merged
merged 4 commits into from
Nov 27, 2017
Merged

Conversation

phlax
Copy link
Member

@phlax phlax commented Nov 27, 2017

I have separated and released the subcommand functionality here http://github.com/phlax/dj.subcommand

This PR uses that module instead of hosting the code in pootle. This will reduce code, make tests quicker etc. This makes sense as the code rarely changes, and is not specific to pootle.

There is a fix in the upstream code already.

to make stylelint happy

class SubcommandsError(subcommand.subcommands.SubcommandsError):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to define here a exception that has been defined in third party package?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i did this to avoid code changes elsewhere, but maybe it wasnt necessary - ill check

@unho
Copy link
Member

unho commented Nov 27, 2017

lgtm after nit, provided Travis passes.

@phlax phlax merged commit d16a5b0 into translate:master Nov 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants