From: Magnus Hagander Date: Wed, 4 Mar 2009 15:05:14 +0000 (+0100) Subject: Fix another bunch of typos. Maybe I should test things? X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=48435fac1ac0d76fd1113a6049a58064ef2d54cd;p=pggit.git Fix another bunch of typos. Maybe I should test things? --- diff --git a/gitdump.py b/gitdump.py index a508e61..c521568 100644 --- a/gitdump.py +++ b/gitdump.py @@ -49,8 +49,8 @@ SELECT name,anonymous,web,description,initialclone, LEFT JOIN auth_user AS au ON au.username=rp.userid WHERE rp.level=2 AND rp.repository=r.repoid), CASE WHEN EXISTS - (SELECT * FROM remoterepositories WHERE repository_id=repositories.id) - THEN 1 ELSE 09 END + (SELECT * FROM remoterepositories WHERE remoterepositories.id=r.remoterepository_id) + THEN 1 ELSE 0 END FROM repositories AS r WHERE approved ORDER BY name""") f = open("%s.tmp" % self.conf.get("paths", "gitweblist"), "w") for name, anon, web, description, initialclone, owner, remoterepo in curs: