Created
May 26, 2014 19:03
-
-
Save brianmpalma/c9eb45e672289bec5e72 to your computer and use it in GitHub Desktop.
How to select lines 5 - 10?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Manual hunk edit mode -- see bottom for a quick guide | |
@@ -184,5 +184,10 @@ | |
return cls.build_game_base_url(gid) + 'plays.xml' | |
@classmethod | |
- def build_inning_x_url(cls, gid, inning_number): | |
+ def build_inning_url(cls, gid): | |
+ """Returns URL for inning directory""" | |
+ return cls.build_game_base_url(gid) + 'inning/' | |
+ | |
+ @classmethod | |
+ def build_inning_x_url(cls, gid, inning): | |
""""Returns URL for #x inning""" | |
# --- | |
# To remove '-' lines, make them ' ' lines (context). | |
# To remove '+' lines, delete them. | |
# Lines starting with # will be removed. | |
# | |
# If the patch applies cleanly, the edited hunk will immediately be | |
# marked for staging. If it does not apply cleanly, you will be given | |
# an opportunity to edit again. If all lines of the hunk are removed, | |
# then the edit is aborted and the hunk is left unchanged. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment