comparison frontends/src/jp/base.py @ 864:241f6baa6687

frontends: fix typos, do not use logging in the xmlui tools:
author souliane <souliane@mailoo.org>
date Tue, 25 Feb 2014 10:59:05 +0100
parents 300b4de701a6
children 9720d3d0a764
comparison
equal deleted inserted replaced
863:97ee7594c788 864:241f6baa6687
76 try: 76 try:
77 self.bridge = DBusBridgeFrontend() 77 self.bridge = DBusBridgeFrontend()
78 except exceptions.BridgeExceptionNoService: 78 except exceptions.BridgeExceptionNoService:
79 print(_(u"Can't connect to SàT backend, are you sure it's launched ?")) 79 print(_(u"Can't connect to SàT backend, are you sure it's launched ?"))
80 sys.exit(1) 80 sys.exit(1)
81 except excpetions.BridgeInitError: 81 except exceptions.BridgeInitError:
82 print(_(u"Can't init bridge")) 82 print(_(u"Can't init bridge"))
83 sys.exit(1) 83 sys.exit(1)
84 84
85 self.parser = argparse.ArgumentParser(formatter_class=argparse.RawDescriptionHelpFormatter, 85 self.parser = argparse.ArgumentParser(formatter_class=argparse.RawDescriptionHelpFormatter,
86 description=description) 86 description=description)