first step in python3 support
This commit is contained in:
parent
7c1e08eb96
commit
6fcac89dd5
25 changed files with 302 additions and 208 deletions
|
|
@ -17,6 +17,8 @@
|
|||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
import sys
|
||||
import logging
|
||||
import re
|
||||
|
|
@ -237,8 +239,8 @@ class QtDo(QObject):
|
|||
msg += u'<br />%s' % to_unicode(line)
|
||||
if ul_opened:
|
||||
msg += u'</li></ul>'
|
||||
print >>sys.stderr, error
|
||||
print >>sys.stderr, backtrace
|
||||
print(error, file=sys.stderr)
|
||||
print(backtrace, file=sys.stderr)
|
||||
QMessageBox.critical(None, unicode(self.tr('Error with backend %s')) % backend.name,
|
||||
msg, QMessageBox.Ok)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue