Fix typos in initialize-urandom.py & gerrit-git-prep.sh
TrivialFix Change-Id: I77e9a4202ea7feb9b4ae682237345487ba57a241
This commit is contained in:
parent
73512d8a39
commit
6c28b0b4db
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user