Delete an unused variable in UsernameColumn.py
Review Request #9495 — Created Jan. 19, 2018 and submitted
The
user_url
variable is dead code that accidentally wasn't removed
in 43957396.
This patch removes the unused variable.
Manual: * Linted
user_url
and no longer saw an unused variable.Automated: * Ran unit tests.
Description | From | Last Updated |
---|---|---|
Your summary should be a high-level overview of your change. It shouldn't require looking up the bug number. |
brennie | |
4630 should go in the bugs field. |
brennie | |
You'll need to fill out the testing done field. |
brennie | |
This change looks fine, but I have one minor nit regarding the Description: due to the recent update If you're … |
mike_conley | |
You can mark things as code using backquotes, e.g: The `user_url` |
brennie | |
Mind wrapping your description at 72chars? |
brennie | |
Mind formatting the testing done as: * Ran unit tests. * Linted the file and no longer saw an unused … |
brennie |
- Summary:
-
fix 4630delete unused varibale in UsernameColumn.py
- Testing Done:
-
+ Manual:
+ Using find to global search the dependency of "user_url" + Automated: + running runtest.py - Bugs:
-
-
This change looks fine, but I have one minor nit regarding the Description:
due to the recent update
If you're referring to a particular update, you might want to mention which one.
I just took a quick look at reviewboard/datagrids/columns.py, and it looks like it was this change:
https://github.com/reviewboard/reviewboard/commit/439573964de820cb8663ba95db50ad02d9226794#diff-2a6f9481a47b04e51de14d94fc1999d1
So perhaps you could change this to:
The "user_url" variable is dead code that accidentally wasn't removed in 43957396. This patch removes the unused variable.
-
A few last small requests about the summary/description:
- Please start your summary with a capital letter ("Delete ...")
- You have a typo in the summary (varibale -> variable)
- The summary should be "Delete an unused..."
- Please wrap the description to 70 columns.
- Summary:
-
delete unused varibale in UsernameColumn.pyDelete an unused variable in UsernameColumn.py
- Description:
-
~ The "user_url" variable is dead code that accidentally wasn't removed in 43957396. This patch removes the unused variable.
~ The "user_url" variable is dead code that accidentally
+ wasn't removed in 43957396. + This patch removes the unused variable.
- Description:
-
~ The "user_url" variable is dead code that accidentally
~ wasn't removed in 43957396. ~ The
user_url
variable is dead code that accidentally wasn't removed~ in 43957396. This patch removes the unused variable. - Testing Done:
-
~ Manual:
~ Using find to global search the dependency of "user_url" ~ Automated: ~ running runtest.py ~ Manual:
~ * Linted user_url
and no longer saw an unused variable.~ Automated: ~ * Ran unit tests.