Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(0)  |  Derive(2)  |  Import(2)

src/m/i/MininGit-HEAD/pycvsanaly2/extensions/LineBlame.py   MininGit(Download)
#       Zhongpeng Lin  <zlin5@ucsc.edu>
 
from Blame import BlameJob, Blame
from pycvsanaly2.Database import (SqliteDatabase, MysqlDatabase,
    TableAlreadyExists, statement)
class LineBlame(Blame):
    # Insert query
    __insert__ = """INSERT INTO line_blames (file_id, commit_id, start, 
                                       end, blame_commit_id)
                         VALUES (?,?,?,?,?)"""

src/m/i/MininGit-HEAD/pycvsanaly2/extensions/HunkBlame.py   MininGit(Download)
#       Zhongpeng Lin  <zlin5@ucsc.edu>
 
from Blame import BlameJob, Blame
from pycvsanaly2.extensions import register_extension, ExtensionRunError
from pycvsanaly2.extensions.line_types import get_line_types, line_is_code
class HunkBlame(Blame):
 
    deps = ['Hunks']
 
    MAX_BLAMES = 10