ridtools: find_rid_plage renvoie un couple
This commit is contained in:
parent
7bfa903078
commit
b04b8deda5
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ class Rid(object):
|
||||||
"""Peuple les champs de l'instance par rapport au rid"""
|
"""Peuple les champs de l'instance par rapport au rid"""
|
||||||
self.rid = rid
|
self.rid = rid
|
||||||
|
|
||||||
self.type = find_rid_plage(int(rid))
|
self.type, _ = find_rid_plage(int(rid))
|
||||||
if self.type == 'Inconnu':
|
if self.type == 'Inconnu':
|
||||||
raise ValueError("rid inconnu : %d" % rid)
|
raise ValueError("rid inconnu : %d" % rid)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue