Refactor rbt patch messages

Review Request #7300 — Created May 13, 2015 and discarded

Information

RBTools
master

Reviewers

The messages in rbt patch have been refactored so that there is less
reptition in the code. We now keep string to use in our print
statements that say if we are patching or reverting.


 
reviewbot
  1. Tool: PEP8 Style Checker
    Processed Files:
        rbtools/commands/patch.py
    
    
    
    Tool: Pyflakes
    Processed Files:
        rbtools/commands/patch.py
    
    
  2. 
      
chipx86
  1. I think we're going to want to localize text before RBTools 1.0, and for localization, we can't use the trick of building a string with one or two words being provided as format arguments. While what we had was repetitive, it's also necessary for localization, so we'd end up having to revert all this down the road anyway.

  2. 
      
brennie
Review request changed

Status: Discarded

Loading...