Mercurial > libervia-backend
comparison frontends/src/jp/jp @ 588:beaf6bec2fcd
Remove every old-style class.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Fri, 18 Jan 2013 17:55:35 +0100 |
parents | 952322b1d490 |
children | a4f6f78f0620 |
comparison
equal
deleted
inserted
replaced
587:952322b1d490 | 588:beaf6bec2fcd |
---|---|
68 pbar_available=False | 68 pbar_available=False |
69 | 69 |
70 | 70 |
71 | 71 |
72 | 72 |
73 class JP(): | 73 class JP(object): |
74 def __init__(self): | 74 def __init__(self): |
75 try: | 75 try: |
76 self.bridge=DBusBridgeFrontend() | 76 self.bridge=DBusBridgeFrontend() |
77 except BridgeExceptionNoService: | 77 except BridgeExceptionNoService: |
78 print(_(u"Can't connect to SàT backend, are you sure it's launched ?")) | 78 print(_(u"Can't connect to SàT backend, are you sure it's launched ?")) |