summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2017-12-13 23:35:21 +0100
committeremkael <emkael@tlen.pl>2017-12-13 23:37:42 +0100
commit8979c6da2c029213a7b604a7a41351c95cc83553 (patch)
tree5f5ed4db8a4aa0886f402f3b7d5a77428bf0377f
parent5fafec026532c9b00675f62658e08314e2096967 (diff)
Code refactor
-rw-r--r--src/bidding_data.py14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/bidding_data.py b/src/bidding_data.py
index 5c5b50a..36c4404 100644
--- a/src/bidding_data.py
+++ b/src/bidding_data.py
@@ -337,12 +337,14 @@ class JFRBidding(object):
used_files = []
for row in board_text_content.select('tr'):
cells = row.select('td')
- debug_string = ' '.join([
- ''.join([
- cc for cc
- in c.contents if isinstance(cc, basestring)]).strip()
- for c in cells])
- log.getLogger('links').debug('row: %s', debug_string)
+ log.getLogger('links').debug(
+ 'row: %s',
+ ' '.join([
+ ''.join([
+ cc for cc
+ in c.contents if isinstance(cc, basestring)
+ ]).strip()
+ for c in cells]))
# traveller table rows for specific score entries
# should have 11 cells
if len(cells) == 11: