ソースを参照

Strip whitespace.

master
Ben Kurtovic 7年前
コミット
79866da842
1個のファイルの変更1行の追加1行の削除
  1. +1
    -1
      copyvios/attribution.py

+ 1
- 1
copyvios/attribution.py ファイルの表示

@@ -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

読み込み中…
キャンセル
保存