def _append_literal(scope, text):
 if (len(text) == 0):
  return
 scope.append(_LiteralText(text))

def _append_literal ( scope , text ) : if ( len ( text ) == 0 ) : return scope . append ( _LiteralText ( text ) )
append literal text to the scope but only if its not an empty string .