~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/database.py

  • Committer: William Grant
  • Date: 2009-12-17 05:33:02 UTC
  • mfrom: (1445.1.2 trunk)
  • Revision ID: me@williamgrant.id.au-20091217053302-pwp1neq3im2d09y2
Merge a couple of submit bugfixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
676
676
        a = store.find(cls,
677
677
            (t is User) or (cls.project_group_id == principal.id),
678
678
            (t is ProjectGroup) or (cls.user_id == principal.id),
679
 
            Project.id == project.id).one()
 
679
            cls.project_id == project.id).one()
680
680
 
681
681
        if a is None:
682
682
            a = cls()