Fix a regression in landing the current branch.

Review Request #6728 — Created Jan. 2, 2015 and submitted

Information

RBTools
master
0629e24...

Reviewers

A fix I made for landing a specified branch broke landing the current
branch. This broke because the new code was unconditionally placing the
branch name parameter into the command arguments list, but if
unspecified, it was placing None in that list, which wasn't a valid
value. We now conditionally insert it.

Landed the current branch successfully.

reviewbot
  1. Tool: PEP8 Style Checker
    Processed Files:
        rbtools/commands/land.py
    
    
    
    Tool: Pyflakes
    Processed Files:
        rbtools/commands/land.py
    
    
  2. 
      
david
  1. Ship It!
  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to master (9cb532e)