# HG changeset patch # User souliane # Date 1413714728 -7200 # Node ID 79fbc20c786b97c3794fee4a82379c703202ad29 # Parent 4a0f2f294ea23758551162756bd7381146062b4b browser_side: fixes call to logging method with more than one argument diff -r 4a0f2f294ea2 -r 79fbc20c786b src/browser/sat_browser/card_game.py --- a/src/browser/sat_browser/card_game.py Sun Oct 19 02:45:18 2014 +0200 +++ b/src/browser/sat_browser/card_game.py Sun Oct 19 12:32:08 2014 +0200 @@ -177,9 +177,9 @@ def _getTarotCardsPathsCb(paths): log.debug("_getTarotCardsPathsCb") for file_ in paths: - log.debug("path:", file_) + log.debug("path: %s" % file_) card = CardWidget(self, file_) - log.debug("card:", card) + log.debug("card: %s" % card) self.cards[(card.suit, card.value)] = card self.deck.append(card) self._parent.host.bridge.call('tarotGameReady', None, self.player_nick, self.referee) diff -r 4a0f2f294ea2 -r 79fbc20c786b src/browser/sat_browser/panels.py --- a/src/browser/sat_browser/panels.py Sun Oct 19 02:45:18 2014 +0200 +++ b/src/browser/sat_browser/panels.py Sun Oct 19 12:32:08 2014 +0200 @@ -810,7 +810,7 @@ log.debug("adding blogs for [%s]" % publisher) for mblog in mblogs[publisher]: if not "content" in mblog: - log.warning("No content found in microblog [%s]", mblog) + log.warning("No content found in microblog [%s]" % mblog) continue self.addEntry(mblog) @@ -820,7 +820,7 @@ """ for mblog in mblogs: if not "content" in mblog: - log.warning("No content found in microblog [%s]", mblog) + log.warning("No content found in microblog [%s]" % mblog) continue self.addEntry(mblog)