Mercurial > libervia-backend
comparison frontends/src/jp/base.py @ 2168:255830fdb80b
core, bridge: renamed getProfileName to profileNameGet according to new conventions
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 05 Mar 2017 21:36:01 +0100 |
parents | c9a67eb5bf72 |
children | b9bfc45cea22 |
comparison
equal
deleted
inserted
replaced
2167:4b78b4c7f805 | 2168:255830fdb80b |
---|---|
463 | 463 |
464 def cant_start_session(failure): | 464 def cant_start_session(failure): |
465 log.error(_(u"Can't start {profile}'s session: {reason}").format(profile=self.profile, reason=failure)) | 465 log.error(_(u"Can't start {profile}'s session: {reason}").format(profile=self.profile, reason=failure)) |
466 self.quit(1) | 466 self.quit(1) |
467 | 467 |
468 self.profile = self.bridge.getProfileName(self.args.profile) | 468 self.profile = self.bridge.profileNameGet(self.args.profile) |
469 | 469 |
470 if not self.profile: | 470 if not self.profile: |
471 log.error(_("The profile [{profile}] doesn't exist").format(profile=self.args.profile)) | 471 log.error(_("The profile [{profile}] doesn't exist").format(profile=self.args.profile)) |
472 self.quit(1) | 472 self.quit(1) |
473 | 473 |