clients.git: Allow non-existent parent_branch option

Review Request #4241 — Created June 13, 2013 and submitted

Information

RBTools
master

Reviewers

The options object may not have an attribute 'parent_branch'.
Use getattr to assume a default value of None.

 
reviewbot
  1. This is a review from Review Bot.
      Tool: PEP8 Style Checker
      Processed Files:
        rbtools/clients/git.py
      Ignored Files:
    
    
  2. 
      
david
  1. Ship It!
  2. 
      
HA
Review request changed
Status:
Completed