changeset 848:e7d1dd6a9785

Fix missing "return"
author Pascal Lamblin <lamblinp@iro.umontreal.ca>
date Sun, 25 Oct 2009 17:15:31 -0400
parents 77e6b2d3e5e5
children 1bdfef116a61
files pylearn/datasets/config.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pylearn/datasets/config.py	Thu Oct 22 19:10:15 2009 -0400
+++ b/pylearn/datasets/config.py	Sun Oct 25 17:15:31 2009 -0400
@@ -22,7 +22,7 @@
             env_get.first_warning = False
         return default
     else:
-        os.getenv(key)
+        return os.getenv(key)
 env_get.first_warning = True
 
 def data_root():