Projet

Général

Profil

0004-multitenant-fix-Tenant.get_hobo_json-8425.patch

Benjamin Dauvergne, 30 septembre 2015 14:29

Télécharger (937 octets)

Voir les différences:

Subject: [PATCH 4/5] multitenant: fix Tenant.get_hobo_json() (#8425)

Bug found using the new test suite.
 hobo/multitenant/models.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
hobo/multitenant/models.py
29 29

  
30 30
    def get_hobo_json(self):
31 31
        if not self.__hobo_json:
32
           self.__hobo_json = json.loads(
32
           self.__hobo_json = json.load(open(
33 33
               os.path.join(self.get_directory(),
34
                            'hobo.json'))
34
                            'hobo.json')))
35 35
        return self.__hobo_json
36 36

  
37 37
    def get_service(self):
38
-