def _sudo_prefix(user, group=None):
 prefix = (env.sudo_prefix % env)
 if ((user is not None) or (group is not None)):
  return ('%s%s%s ' % (prefix, _sudo_prefix_argument('-u', user), _sudo_prefix_argument('-g', group)))
 return prefix

def _sudo_prefix ( user , group = None ) : prefix = ( env . sudo_prefix % env ) if ( ( user is not None ) or ( group is not None ) ) : return ( '%s%s%s ' % ( prefix , _sudo_prefix_argument ( '-u' , user ) , _sudo_prefix_argument ( '-g' , group ) ) ) return prefix
return env .