Minor fixes
Minor fixes

Use viewkeys and xrange(1, retries + 1)

dwang159/iris-api,jrgp/iris-api-opensource,jrgp/iris-api-opensource,jrgp/iris-api-opensource,dwang159/iris-api,linkedin/iris,linkedin/iris,dwang159/iris-api,linkedin/iris,jrgp/iris-api-opensource,dwang159/iris-api,linkedin/iris