This repository has been archived by the owner on Mar 20, 2024. It is now read-only.
forked from barosl/homu
-
Notifications
You must be signed in to change notification settings - Fork 51
set_treeclosed should not do any slicing #153
Labels
E-easy
Good first issues
Comments
We can use Line 530 in 0383eea
|
dtchanpura
added a commit
to dtchanpura/homu
that referenced
this issue
Mar 27, 2018
That is indeed a nicer way of writing that. |
bors-servo
pushed a commit
that referenced
this issue
Mar 28, 2018
Replaced slicing text from set_treeclosed method to its caller #153 This pull request is for issue #153 Replaced the slicing with strip by using `word.lstrip()` The occurrences are been replaced up to my knowledge. @jdm let me know in case if I missed anything. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/homu/158) <!-- Reviewable:end -->
This can be closed? |
Yes. |
yshui
pushed a commit
to hadeaninc/homu
that referenced
this issue
Apr 1, 2019
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The contract with set_treeclosed should be that it accepts a string that will be converted to an integer. The slicing should happen in the caller instead.
The text was updated successfully, but these errors were encountered: