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

This commit is contained in:
Jenkins
2016-11-09 08:29:26 +00:00
committed by Gerrit Code Review
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 # use the origin since zuul mergers have outdated branches
ZUUL_URL=$GIT_ORIGIN ZUUL_URL=$GIT_ORIGIN
else 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 exit 1
fi fi
fi fi

View File

@@ -223,7 +223,7 @@ class Pump(object):
r = self.getrandom(1, nonblock=True) r = self.getrandom(1, nonblock=True)
if len(r) != 1: if len(r) != 1:
raise Exception("No data returned from getrandom") raise Exception("No data returned from getrandom")
print("Nonblocking pool initilaized") print("Nonblocking pool initialized")
return True return True
except GeneratorNotInitializedError: except GeneratorNotInitializedError:
return False return False