Mercurial > libervia-backend
comparison frontends/src/primitivus/primitivus @ 1409:3265a2639182
massive (preventive) addition of 'u' (unicode) before the strings passed to logging functions
author | souliane <souliane@mailoo.org> |
---|---|
date | Thu, 16 Apr 2015 14:57:57 +0200 |
parents | 77f07ea90420 |
children | 176de79c8c39 |
comparison
equal
deleted
inserted
replaced
1408:8a7145138330 | 1409:3265a2639182 |
---|---|
346 | 346 |
347 def postInit(self): | 347 def postInit(self): |
348 try: | 348 try: |
349 config.applyConfig(self) | 349 config.applyConfig(self) |
350 except Exception as e: | 350 except Exception as e: |
351 log.error("configuration error: {}".format(e)) | 351 log.error(u"configuration error: {}".format(e)) |
352 popup = sat_widgets.Alert(_("Configuration Error"), _("Something went wrong while reading the configuration, please check :messages"), ok_cb=self.removePopUp) | 352 popup = sat_widgets.Alert(_("Configuration Error"), _("Something went wrong while reading the configuration, please check :messages"), ok_cb=self.removePopUp) |
353 if self.options.profile: | 353 if self.options.profile: |
354 self._early_popup = popup | 354 self._early_popup = popup |
355 else: | 355 else: |
356 self.showPopUp(popup) | 356 self.showPopUp(popup) |