From b2effcd9bdf8a7a17640a73396789fe613fbfa19 Mon Sep 17 00:00:00 2001 From: Michael Marchetti Date: Mon, 28 Jan 2019 13:56:34 -0500 Subject: [PATCH] update docstring --- rsconnect_jupyter/environment.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/rsconnect_jupyter/environment.py b/rsconnect_jupyter/environment.py index f8c15aac..a2aaf566 100644 --- a/rsconnect_jupyter/environment.py +++ b/rsconnect_jupyter/environment.py @@ -18,9 +18,7 @@ class EnvironmentException(Exception): def detect_environment(): """Determine the python dependencies in the environment. - If requirements.txt exists in the notebook directory, - its contents will be used. Otherwise, the results - of `pip freeze` will be used. + `pip freeze` will be used to introspect the environment. Returns a dictionary containing the package spec filename and contents if successful, or a dictionary containing 'error'