Repository: incubator-predictionio-sdk-python Updated Branches: refs/heads/develop 88a11a84e -> 4b51a300e
Update __init__.py (Updated Deprecation Error Message) Closes #15 Project: http://git-wip-us.apache.org/repos/asf/incubator-predictionio-sdk-python/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-predictionio-sdk-python/commit/55109536 Tree: http://git-wip-us.apache.org/repos/asf/incubator-predictionio-sdk-python/tree/55109536 Diff: http://git-wip-us.apache.org/repos/asf/incubator-predictionio-sdk-python/diff/55109536 Branch: refs/heads/develop Commit: 55109536075352a555ab7f56f7ba4b8e0ea539af Parents: 88a11a8 Author: thomas-idmt <[email protected]> Authored: Sun Sep 10 23:19:12 2017 +0900 Committer: Shinsuke Sugaya <[email protected]> Committed: Sun Sep 10 23:19:12 2017 +0900 ---------------------------------------------------------------------- predictionio/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-predictionio-sdk-python/blob/55109536/predictionio/__init__.py ---------------------------------------------------------------------- diff --git a/predictionio/__init__.py b/predictionio/__init__.py index c067689..3ef8d96 100644 --- a/predictionio/__init__.py +++ b/predictionio/__init__.py @@ -183,8 +183,8 @@ class EventClient(BaseClient): if len(access_key) <= 8: raise DeprecationWarning( - "It seems like you are specifying an app_id. It is deprecated in " - "Prediction.IO 0.8.2. Please use access_key instead. Or, " + "The entered access key is very short, it seems like you are specifying an app_id." + "This is deprecated in Prediction.IO 0.8.2. Please use (a longer) access_key instead. Or, " "you may use an earlier version of this sdk.") self.access_key = access_key
