Skip to content

Commit

Permalink
ceph-disk: Allow ConfigObj to write in binary mode
Browse files Browse the repository at this point in the history
Signed-off-by: Anirudha Bose <[email protected]>
  • Loading branch information
onyb committed Aug 17, 2016
1 parent df9cc2c commit 5cc05ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ceph-disk/tests/test_prepare.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def teardown(self):
os.unlink(self.conf_file)

def save_conf(self):
self.conf.write(open(self.conf_file, 'w'))
self.conf.write(open(self.conf_file, 'wb'))


class TestPrepare(Base):
Expand Down

0 comments on commit 5cc05ef

Please sign in to comment.