Skip to content

Instantly share code, notes, and snippets.

@DaniloOliveira28
Created January 20, 2015 20:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DaniloOliveira28/f805510ffd857a0f95d1 to your computer and use it in GitHub Desktop.
Save DaniloOliveira28/f805510ffd857a0f95d1 to your computer and use it in GitHub Desktop.
for tag in xmlDetalhes['Indexacao'].split(","):
tagAux = tag
if tagAux[0] == " ":
tagAux = tagAux.lstrip(" ")
if tagAux[-1:] == ".":
tagAux = tagAux[:-1]
tagAux = tagAux.upper()
if(tagAux not in mpv['SLP_TAGS']):
mpv['SLP_TAGS'].append(tagAux.upper())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment