From a64837e4b42aa31bba4d561c4318705eeda5b94c Mon Sep 17 00:00:00 2001 From: Mitch Watrous Date: Sun, 17 Apr 2011 19:45:48 -0700 Subject: [PATCH] Make function's docstring be comments to fix waf help message --- utils.py | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/utils.py b/utils.py index fb57005a3..9db09dc5d 100644 --- a/utils.py +++ b/utils.py @@ -76,15 +76,11 @@ def get_bool_from_file(file_path, bool_name, value_if_missing): return value_if_missing +# Reads the NS-3 configuration file and returns a list of enabled modules. +# +# This function first looks for the ns3 configuration file (.ns3rc) in +# the current working directory and then looks in the ~ directory. def read_config_file(): - '''Reads the NS-3 configuration file and returns a list of enabled modules. - - This function first looks for the ns3 configuration file (.ns3rc) - in the current working directory and then looks in the ~ - directory. - - ''' - # By default, all modules will be enabled, examples will be disabled, # and tests will be disabled. modules_enabled = ['all_modules']