Skip to content

Commit

Permalink
Merge pull request #665 from spodkowinski/fix_get_sstable_data_files
Browse files Browse the repository at this point in the history
Revert "stdout is returning bytes in python 3 causing this to fail."
  • Loading branch information
ptnapoleon authored Feb 22, 2018
2 parents 1261d70 + e70a123 commit 11ca0d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ccmlib/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -2023,7 +2023,7 @@ def get_sstable_data_files(self, ks, table):

out, _, _ = handle_external_tool_process(p, ["sstableutil", '--type', 'final', ks, table])

return sorted(filter(lambda s: s.endswith('-Data.db'), [str(s, 'utf-8') for s in out.splitlines()]))
return sorted(filter(lambda s: s.endswith('-Data.db'), out.splitlines()))

def _get_load_from_info_output(info):
load_lines = [s for s in info.split('\n')
Expand Down

0 comments on commit 11ca0d5

Please sign in to comment.