def _branch_status(branch):
 staged = diff_filenames(branch)
 return {u'staged': staged, u'upstream_changed': staged}

def _branch_status ( branch ) : staged = diff_filenames ( branch ) return { u'staged' : staged , u'upstream_changed' : staged }
returns a tuple of staged .