From 6c28b0b4dbe6ec082ed36f29f8f6148f36c81d6f Mon Sep 17 00:00:00 2001 From: zhangyanxian Date: Tue, 8 Nov 2016 03:56:07 +0000 Subject: [PATCH] Fix typos in initialize-urandom.py & gerrit-git-prep.sh TrivialFix Change-Id: I77e9a4202ea7feb9b4ae682237345487ba57a241 --- jenkins/scripts/gerrit-git-prep.sh | 2 +- .../static/usr/local/bin/initialize-urandom.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jenkins/scripts/gerrit-git-prep.sh b/jenkins/scripts/gerrit-git-prep.sh index df655ca5c1..d8c4078cd2 100755 --- a/jenkins/scripts/gerrit-git-prep.sh +++ b/jenkins/scripts/gerrit-git-prep.sh @@ -53,7 +53,7 @@ if [ -z "$ZUUL_REF" ]; then # use the origin since zuul mergers have outdated branches ZUUL_URL=$GIT_ORIGIN else - echo "Provide either ZUUL_REF or BRANCH in the calling enviromnent." + echo "Provide either ZUUL_REF or BRANCH in the calling environment." exit 1 fi fi diff --git a/nodepool/elements/initialize-urandom/static/usr/local/bin/initialize-urandom.py b/nodepool/elements/initialize-urandom/static/usr/local/bin/initialize-urandom.py index 5ff4b06d81..547175a659 100755 --- a/nodepool/elements/initialize-urandom/static/usr/local/bin/initialize-urandom.py +++ b/nodepool/elements/initialize-urandom/static/usr/local/bin/initialize-urandom.py @@ -223,7 +223,7 @@ class Pump(object): r = self.getrandom(1, nonblock=True) if len(r) != 1: raise Exception("No data returned from getrandom") - print("Nonblocking pool initilaized") + print("Nonblocking pool initialized") return True except GeneratorNotInitializedError: return False