Stop args from containing a single empty string

Review Request #5263 — Created Jan. 15, 2014 and discarded — Latest diff uploaded

Information

RBTools
master

Reviewers

Stop args from containing a single empty string

Sometimes (I haven't tracked down quite where) OptionParser will return
args as ['']. This can get interpreted as a revision range by the clients
(in particular git), which can confuse matters - the git client tries to
run `git rev-parse `, which fails, for instance.

Therefore remove emptystring from the args return from OptionParser.

Untested on any clients except git.

 
    Loading...