Use "rbt" instead of "rb" for base command.
Review Request #3727 — Created Jan. 6, 2013 and submitted
This work is on top of John Sintal's work on several commands. Once This has been reviewed, both will be pushed together. The command files have not been modified, just renamed. Use "rbt" instead of "rb" for base command. The base command "rb" conflicted with another package, so to avoid problems we will now use "rbt" instead. I refactored things a bit to make changing this name easier in the future. Add Steven MacLeod and John Sintal to AUTHORS Remove unused files. This removes a number of unused command and api files which have been sitting around. It's possible some of the logic present in the command files could be useful in the future, but the implementation details would need to be changed drastically.
Description | From | Last Updated |
---|---|---|
Can you use 'f' instead of 'opened_file"? It's more common. |
chipx86 | |
Two blank lines. |
chipx86 | |
The """ should be on the next line. |
chipx86 | |
Is there any need to store these in self? |
chipx86 | |
Can just be: if not diff: Or maybe just "if diff" and reverse the two clauses. |
chipx86 | |
It's possible that an ImportError is due to something successfully imported being unable to import something else. A stack trace … |
chipx86 | |
This feels like a hack, and possibly a bad assumption. We should specifically get the latest diff, not assume total_results … |
chipx86 | |
We should call diffs.get_item(patch_id) only once. |
chipx86 | |
Too much of a mix of imports/froms |
chipx86 | |
Col: 27 E127 continuation line over-indented for visual indent |
reviewbot | |
Probably no need to say "the web interface," because the command line would suffice too. |
chipx86 | |
Should explicitly say "review request" instead of "request" |
chipx86 | |
Col: 23 E127 continuation line over-indented for visual indent |
reviewbot | |
Look at the equivalent code in post-review. I believe that this code was just recently changed to handle some stdout/stderr … |
chipx86 | |
The 'pass' is not needed. |
chipx86 | |
Any reason to store in self? |
chipx86 | |
Col: 27 E127 continuation line over-indented for visual indent |
reviewbot | |
Col: 23 E127 continuation line over-indented for visual indent |
reviewbot |
-
-
-
-
-
-
-
It's possible that an ImportError is due to something successfully imported being unable to import something else. A stack trace might be helpful here. We may want to use Python logging for such things.
-
This feels like a hack, and possibly a bad assumption. We should specifically get the latest diff, not assume total_results is numerically the same as the latest ID.
-
-
-
-
-
Look at the equivalent code in post-review. I believe that this code was just recently changed to handle some stdout/stderr issues.
-
-
-
This is a review from Review Bot. Tool: PEP8 Style Checker Processed Files: rbtools/commands/main.py rbtools/commands/__init__.py rbtools/commands/diff.py rbtools/commands/patch.py rbtools/commands/post.py rbtools/commands/attach.py rbtools/commands/publish.py setup.py rbtools/commands/close.py Ignored Files: rbtools/api/serverinterface.py rbtools/api/settings.py rbtools/commands/rbinfo.py rbtools/commands/rbinfov2.py rbtools/knownissues.txt rbtools/commands/rbattach.py rbtools/commands/rbupload.py rbtools/commands/rb.py rbtools/commands/utils.py rbtools/commands/tests.py rbtools/commands/rbdiff.py rbtools/commands/rbcreate.py rbtools/commands/rbconfig.py rbtools/commands/rbpatch.py AUTHORS rbtools/commands/rbpublish.py rbtools/commands/resource-browser.py rbtools/commands/rbopen.py rbtools/commands/rbclose.py rbtools/commands/rbpost.py
-
-