Skip to content
Snippets Groups Projects
Commit 01b35816 authored by gpotter2's avatar gpotter2
Browse files

Add docstring

parent 55df7f97
No related branches found
No related tags found
No related merge requests found
......@@ -18,6 +18,9 @@ __all__ = []
def _validate_local(x):
"""Returns whether or not a variable should be imported.
Will return False for any default modules (sys), or if
they are detected as private vars (starting with a _)"""
global ignored
return x[0] != "_" and not x in ignored
......
......@@ -38,6 +38,9 @@ def _read_config_file(cf):
log_loading.exception("Error during evaluation of config file [%s]" % cf)
def _validate_local(x):
"""Returns whether or not a variable should be imported.
Will return False for any default modules (sys), or if
they are detected as private vars (starting with a _)"""
global ignored
return x[0] != "_" and not x in ignored
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment