ridtools: find_rid_plage renvoie un couple

This commit is contained in:
Daniel STAN 2015-03-23 19:19:52 +01:00
parent 7bfa903078
commit b04b8deda5

View file

@ -57,7 +57,7 @@ class Rid(object):
"""Peuple les champs de l'instance par rapport au rid"""
self.rid = rid
self.type = find_rid_plage(int(rid))
self.type, _ = find_rid_plage(int(rid))
if self.type == 'Inconnu':
raise ValueError("rid inconnu : %d" % rid)