Revert "pas de mention explicite de annuaires_pg_test"
This reverts commit 2f469b4916
.
This commit is contained in:
parent
6268b6b2bd
commit
cadddb45df
1 changed files with 5 additions and 1 deletions
|
@ -870,7 +870,11 @@ class chbre(Attr):
|
||||||
elif chambre in (u"EXT", u"????"):
|
elif chambre in (u"EXT", u"????"):
|
||||||
self.value = chambre
|
self.value = chambre
|
||||||
else:
|
else:
|
||||||
annuaires_pg.chbre_prises(chambre[0], chambre[1:])
|
try:
|
||||||
|
annuaires_pg.chbre_prises(chambre[0], chambre[1:])
|
||||||
|
except NameError:
|
||||||
|
import annuaires_pg_test
|
||||||
|
annuaires_pg_test.chbre_prises(chambre[0], chambre[1:])
|
||||||
self.value = chambre
|
self.value = chambre
|
||||||
|
|
||||||
@crans_attribute
|
@crans_attribute
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue