# HG changeset patch # User Pascal Lamblin # Date 1256505331 14400 # Node ID e7d1dd6a9785192490e79e3df90cefd0e402e911 # Parent 77e6b2d3e5e576ccc243a6fba991357798848480 Fix missing "return" diff -r 77e6b2d3e5e5 -r e7d1dd6a9785 pylearn/datasets/config.py --- 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():