diff options
author | Kali Kaneko <kali@leap.se> | 2013-09-27 17:29:10 -0400 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2013-09-30 13:58:23 -0400 |
commit | e55af608c81284f50133f53df6f49d69da0756b7 (patch) | |
tree | 8dd4cecdba70bae8ac01227836345ccdfa1ebfd8 | |
parent | f2c68ba96498f8b88e415aaf27ced735c790510e (diff) |
add comments
-rw-r--r-- | src/leap/bitmask/gui/mainwindow.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/leap/bitmask/gui/mainwindow.py b/src/leap/bitmask/gui/mainwindow.py index 200d68aa..33af37e3 100644 --- a/src/leap/bitmask/gui/mainwindow.py +++ b/src/leap/bitmask/gui/mainwindow.py @@ -1007,6 +1007,7 @@ class MainWindow(QtGui.QMainWindow): """ Retries soledad connection. """ + # XXX should move logic to soledad boostrapper itself logger.debug("Retrying soledad connection.") if self._soledad_bootstrapper.should_retry_initialization(): self._soledad_bootstrapper.increment_retries_count() @@ -1031,8 +1032,9 @@ class MainWindow(QtGui.QMainWindow): """ passed = data[self._soledad_bootstrapper.PASSED_KEY] if not passed: + # TODO should actually *display* on the panel. logger.debug("ERROR on soledad bootstrapping:") - logger.error(data[self._soledad_bootstrapper.ERROR_KEY]) + logger.error("%r" % data[self._soledad_bootstrapper.ERROR_KEY]) return else: logger.debug("Done bootstrapping Soledad") |