Commit 2ce9b663 authored by Petr Pudlak's avatar Petr Pudlak

QA: Fix white-spaces in CheckFileUnmodified

Signed-off-by: default avatarPetr Pudlak <pudlak@google.com>
Reviewed-by: default avatarHrvoje Ribicic <riba@google.com>
parent 9d251502
......@@ -498,10 +498,13 @@ def CheckFileUnmodified(node, filename):
@param node: node the command should run on
@type filename: string
@param filename: absolute filename to check
"""
cmd = utils.ShellQuoteArgs(["sha1sum", filename])
def Read():
return GetCommandOutput(node, cmd).strip()
# read the configuration
before = Read()
yield
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment