Explorar el Código

Strip whitespace.

master
Ben Kurtovic hace 7 años
padre
commit
79866da842
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      copyvios/attribution.py

+ 1
- 1
copyvios/attribution.py Ver fichero

@@ -30,7 +30,7 @@ def get_attribution_info(site, page):

for template in page.parse().ifilter_templates():
if template.name.matches(templates):
name = unicode(template.name)
name = unicode(template.name).strip()
title = name if ":" in name else prefix + ":" + name
return name, site.get_page(title).url
return None

Cargando…
Cancelar
Guardar