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

Cleanup: remove unused utils #4511

Merged
merged 12 commits into from
Feb 27, 2016
Merged

Cleanup: remove unused utils #4511

merged 12 commits into from
Feb 27, 2016

Conversation

phlax
Copy link
Member

@phlax phlax commented Feb 20, 2016

these functions dont appear to be used anywhere

in order to find these i have looked through the untested lines on coveralls, found functions and methods that are not used at all, and then grepped the code to ascertain if they are being used and just not being tested.

afaict all of these are unused.

there may be some mistakes or i may have misunderstood how some things work - apologies in advance if that is the case.

@phlax phlax force-pushed the cleanup branch 4 times, most recently from 1778996 to 622dcc7 Compare February 20, 2016 15:43
@julen
Copy link
Contributor

julen commented Feb 20, 2016

Thank you @phlax, these look good to me, and it's nice to see them go!

Before merging the commit removing the lock though I'd prefer to have at least a couple pair of eyes check and test that. Note there's also the LOCKED constant at the top of the module which can be removed.

@phlax
Copy link
Member Author

phlax commented Feb 20, 2016

yep - ill remove - and also add a WIP header to this PR - i should have done so already

@phlax phlax changed the title Cleanup: remove unused utils [WIP] Cleanup: remove unused utils Feb 20, 2016
@phlax
Copy link
Member Author

phlax commented Feb 20, 2016

@julen if you had 10 mins for a gitter chat that would be really handy

@phlax phlax force-pushed the cleanup branch 4 times, most recently from 245d64d to 1820cb1 Compare February 20, 2016 19:20
@phlax phlax changed the title [WIP] Cleanup: remove unused utils Cleanup: remove unused utils Feb 20, 2016
@julen
Copy link
Contributor

julen commented Feb 22, 2016

Note the dateformat template tag is not dead code (at least for the time being), so you should only remove locale_reverse_align in the last commit.

@phlax phlax changed the title Cleanup: remove unused utils [RFC] Cleanup: remove unused utils Feb 22, 2016
@dwaynebailey
Copy link
Member

Did a quick test. GTM with the revert the @julen raised above.

@phlax phlax changed the title [RFC] Cleanup: remove unused utils Cleanup: remove unused utils Feb 27, 2016
@phlax phlax merged commit 2fcf29d into translate:master Feb 27, 2016
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

4 participants