removed 2 compilation warnings in rlm_python

warning: suggest explicit braces to avoid ambiguous ‘else’ - used
braces to remove these warnings.