Commit 549f22af authored by Inkhey's avatar Inkhey

correct view-file

parent 123d0063
...@@ -408,12 +408,12 @@ class sqlGit(object): ...@@ -408,12 +408,12 @@ class sqlGit(object):
select f1.file AS source , f2.file AS target, select f1.file AS source , f2.file AS target,
count(distinct(f1.author)) as nbAuthors, count(distinct(f1.author)) as nbAuthors,
count(distinct(f1.author)) as weight count(distinct(f1.author)) as weight
from from(
tmp as f1 tmp as f1
join join
tmp as f2 tmp as f2
on f1.author = f2.author on f1.author = f2.author
and f1.file != f2.file and f1.file != f2.file
) )
group by f1.file , f2.file;''') group by f1.file , f2.file;''')
self.conn.commit() self.conn.commit()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment