def add_svn_segment(powerline):
 try:
  _add_svn_segment(powerline)
 except OSError:
  pass
 except subprocess.CalledProcessError:
  pass

def add_svn_segment ( powerline ) : try : _add_svn_segment ( powerline ) except OSError : pass except subprocess . CalledProcessError : pass
wraps _add_svn_segment in exception handling .