Commit parser

better: `if variables is not None:`