gracefully handle no-match in p4 info regex

Review Request #3902 — Created Feb. 21, 2013 and submitted — Latest diff uploaded

Information

RBTools
master

Reviewers

If the regular expression doesn't parse the string that p4 info returns, calling group will cause a traceback.  This came up where p4 info returned an unexpected string.
Manual testing with the p4 binary that returned a non-standard string.  I'm on OSX and I'm not going to spend the non-trivial time to get unit tests running.  No hard feelings if you reject this patch on that basis.
    Loading...