• 
      

    Improve readability of rbt status output

    Review Request #4183 — Created May 28, 2013 and submitted

    Information

    RBTools
    release-0.5.x

    Reviewers

    Improve readability of rbt status output.
    
    Each review request output is now indented, causing the ids and
    draft indicators to line up.
    Used rbt status, and verified proper formatting and improvment.
    reviewbot
    1. This is a review from Review Bot.
        Tool: PEP8 Style Checker
        Processed Files:
          rbtools/commands/status.py
        Ignored Files:
      
      
    2. 
        
    SM
    1. This was strictly a whitespace change, so it's being hidden by RB.
      
      I went from:
          def output_request(self, request):
              print "r/%s - %s" % (request.id, request.summary)
      
          def output_draft(self, request, draft):
              print "* r/%s - %s" % (request.id, draft.summary)
      
      To:
          def output_request(self, request):
              print "   r/%s - %s" % (request.id, request.summary)
      
          def output_draft(self, request, draft):
              print " * r/%s - %s" % (request.id, draft.summary)
      
      Note the changes to spacing at the start of each string being printed.
      
    2. 
        
    chipx86
    1. Ship It!
    2. 
        
    SM
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to master, release-0.5.x (009dc97998ebfb4e98b3febf8a474ec027625bb7)