浏览代码

Typo.

tags/v1.0^2
Ben Kurtovic 10 年前
父节点
当前提交
a1a5252aa7
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      bitshift/crawler/indexer.py

+ 2
- 2
bitshift/crawler/indexer.py 查看文件

@@ -13,7 +13,7 @@ import subprocess
import time
import threading

from bs4 import UnicodeDammmit
from bs4 import UnicodeDammit
import git

from ..database import Database
@@ -161,7 +161,7 @@ class GitIndexer(threading.Thread):
for filename, data in commits_meta.iteritems():
authors = [(author, None) for author in data["authors"]]
encoded_source = data["blob"].data_stream.read()
source = UnicodeDammmit(encoded_source).unicode_markup
source = UnicodeDammit(encoded_source).unicode_markup
url = self._generate_file_url(filename, repo)
codelet = Codelet("%s: %s" % (repo.name, filename), source,
filename, None, authors, url, data["time_created"],


正在加载...
取消
保存