Cleanup the rbtools.utils.process module

Review Request #7203 — Created April 14, 2015 and submitted

Information

RBTools
release-0.7.x
c646e39...

Reviewers

The process module has long been in need of an overhaul. All parameters
and the return value of the process.execute function have been
documented. A bug where environment variables provided by the function
could be overridden by OS environment variables was fixed.

Ran unit tests.

Description From Last Updated

"as UTF-8"

chipx86chipx86

"process's" Space after "returned as a"

chipx86chipx86

While here, can you remove the list in dict(...), to use a generator?

chipx86chipx86
reviewbot
  1. Tool: Pyflakes
    Processed Files:
        rbtools/utils/process.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        rbtools/utils/process.py
    
    
  2. 
      
brennie
chipx86
  1. 
      
  2. rbtools/utils/process.py (Diff revision 1)
     
     
    Show all issues

    "as UTF-8"

  3. rbtools/utils/process.py (Diff revision 1)
     
     
    Show all issues

    "process's"

    Space after "returned as a"

    1. There's still a missing space between "a" and the "six.text_type".

    2. Oops, that change wasn't committed when I posted.

  4. rbtools/utils/process.py (Diff revision 1)
     
     
     
     
     
    Show all issues

    While here, can you remove the list in dict(...), to use a generator?

  5. 
      
brennie
reviewbot
  1. Tool: Pyflakes
    Processed Files:
        rbtools/utils/process.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        rbtools/utils/process.py
    
    
  2. 
      
brennie
reviewbot
  1. Tool: PEP8 Style Checker
    Processed Files:
        rbtools/utils/process.py
    
    
    
    Tool: Pyflakes
    Processed Files:
        rbtools/utils/process.py
    
    
  2. 
      
brennie
reviewbot
  1. Tool: PEP8 Style Checker
    Processed Files:
        rbtools/utils/process.py
    
    
    
    Tool: Pyflakes
    Processed Files:
        rbtools/utils/process.py
    
    
  2. 
      
chipx86
  1. Ship It!
  2. 
      
brennie
Review request changed
Status:
Completed
Change Summary:
Pushed to release-0.7.x (c9c2f78)