Skip to content

Commit

Permalink
HIP-1298 fixing log formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
grzn committed Sep 11, 2014
1 parent b57daba commit 0a6bb6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/infi/parted/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ def _execute_mkfs(self, filesystem_name, partition_access_path):
log.info("executing mkfs.{} for {}".format(filesystem_name, partition_access_path))
mkfs = execute(["mkfs.{}".format(filesystem_name), "-F", partition_access_path])
if mkfs.get_returncode() != 0:
log.debug("mkfs failed (): {} {}".format(mkfs.get_returncode(), mkfs.get_stdout(), mkfs.get_stderr()))
log.debug("mkfs failed ({}): {} {}".format(mkfs.get_returncode(), mkfs.get_stdout(), mkfs.get_stderr()))
raise RuntimeError(mkfs.get_stderr())
log.info("filesystem formatted")

Expand Down

0 comments on commit 0a6bb6f

Please sign in to comment.