Project

General

Profile

Anomalie #1699

Les amonecole ne sont pas proposés dans la liste issue de Zéphir

Added by Joël Cuissinat over 11 years ago. Updated almost 11 years ago.

Status:
Fermé
Priority:
Normal
Category:
-
Start date:
04/18/2011
Due date:
% Done:

100%

Estimated time:
0.50 h
Spent time:
Distribution:
EOLE 2.3

History

#1 Updated by Jerome Soyer over 11 years ago

  • Target version changed from EOLE 2.3 Stable to Mises à jour 2.3 - 01 RC

#2 Updated by Fabrice Barconnière over 11 years ago

  • Target version changed from Mises à jour 2.3 - 01 RC to 76

#3 Updated by Fabrice Barconnière almost 11 years ago

  • Status changed from Nouveau to Résolu
  • Assigned To set to Fabrice Barconnière
  • % Done changed from 0 to 100
  • Distribution set to EOLE 2.3

#4 Updated by Fabrice Barconnière almost 11 years ago

  • Status changed from Résolu to Fermé
  • Target version changed from 76 to Mises à jour 2.3 - 02 Stable
--- a/arv/lib/usezephir.py
+++ b/arv/lib/usezephir.py
@@ -204,6 +204,15 @@ class Zephir:
                 logger.debug("#-> module id " + str(module_id))
                 server = self.get_etab_module(uai, name, module_id)
                 logger.debug("#-> server " + str(server))
+                # If no Amon, test Amonecole
+                if server == None:
+                    module = self.get_module('amonecole')
+                    if module != None:
+                        module_id = int(module['moduleid'])
+                        logger.debug("#-> get_module amonecole retrieved : " + 
+                        logger.debug("#-> module id " + str(module_id))
+                        server = self.get_etab_module(uai, name, module_id)
+                        logger.debug("#-> server " + str(server))
                 if server != None:
                     server_id = int(server['id'])
                     logger.debug("#-> server id {0}".format(server_id))

#5 Updated by Joël Cuissinat almost 11 years ago

  • Status changed from Fermé to Résolu

#6 Updated by Fabrice Barconnière almost 11 years ago

  • Status changed from Résolu to Fermé

Je referme, jojo24 l'a packagé.

Also available in: Atom PDF