Fix typos in initialize-urandom.py & gerrit-git-prep.sh

TrivialFix

Change-Id: I77e9a4202ea7feb9b4ae682237345487ba57a241
This commit is contained in:
zhangyanxian 2016-11-08 03:56:07 +00:00
parent 73512d8a39
commit 6c28b0b4db
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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