forked from ScoDoc/DocScoDoc
Fix: accès aux groupes
This commit is contained in:
parent
51933d057b
commit
d64ecdffcb
@ -89,8 +89,6 @@ group_list = groupEditor.list
|
|||||||
|
|
||||||
def get_group(group_id: int):
|
def get_group(group_id: int):
|
||||||
"""Returns group object, with partition"""
|
"""Returns group object, with partition"""
|
||||||
if not isinstance(group_id, int):
|
|
||||||
raise ValueError("invalid group_id (%s)" % group_id)
|
|
||||||
r = ndb.SimpleDictFetch(
|
r = ndb.SimpleDictFetch(
|
||||||
"""SELECT gd.id AS group_id, gd.*, p.id AS partition_id, p.*
|
"""SELECT gd.id AS group_id, gd.*, p.id AS partition_id, p.*
|
||||||
FROM group_descr gd, partition p
|
FROM group_descr gd, partition p
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# -*- mode: python -*-
|
# -*- mode: python -*-
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
SCOVERSION = "9.1.30"
|
SCOVERSION = "9.1.31"
|
||||||
|
|
||||||
SCONAME = "ScoDoc"
|
SCONAME = "ScoDoc"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user