提交 32885e90 authored 作者: Chinnadhurai Sankar's avatar Chinnadhurai Sankar

fix indentation

上级 7443cc89
...@@ -1484,13 +1484,13 @@ def _rmtree(parent, ignore_nocleanup=False, msg='', level=logging.DEBUG, ...@@ -1484,13 +1484,13 @@ def _rmtree(parent, ignore_nocleanup=False, msg='', level=logging.DEBUG,
Paramters Paramters
---------- ----------
parent parent
Root node to start deleting from Root node to start deleting from
ignore_nocleanup ignore_nocleanup
Delete the tree if flag is TRUE Delete the tree if flag is TRUE
level level
Python Logging level. Set to "DEBUG" by default Python Logging level. Set to "DEBUG" by default
ignore_if_missing ignore_if_missing
If set to True, just return without any issue if parent is NULL If set to True, just return without any issue if parent is NULL
""" """
if ignore_if_missing and not os.path.exists(parent): if ignore_if_missing and not os.path.exists(parent):
return return
......
...@@ -702,14 +702,14 @@ def inputs(variable_list, blockers=None): ...@@ -702,14 +702,14 @@ def inputs(variable_list, blockers=None):
def variables_and_orphans(i, o): def variables_and_orphans(i, o):
""" """
Extracts list of variables within input and Extracts list of variables within input and
output nodes ( via dfs travesal) and chooses the orphans among them output nodes via dfs travesal and chooses the orphans among them
Parameters Parameters
----------- -----------
i : list i : list
Input L{Variable}s. Input variables.
o : list o : list
Output L{Variable}s. Output variables.
""" """
def expand(r): def expand(r):
...@@ -724,21 +724,21 @@ def variables_and_orphans(i, o): ...@@ -724,21 +724,21 @@ def variables_and_orphans(i, o):
def ops(i, o): def ops(i, o):
""" """
WRITEME Set of Ops contained within the subgraph between i and o
Parameters Parameters
---------- ----------
i : list i : list
Input L{Variable}s. Input variables.
o : list o : list
Output L{Variable}s. Output variables.
Returns Returns
------- -------
object object
The set of ops that are contained within the subgraph that lies The set of ops that are contained within the subgraph that lies
between i and o, including the owners of the L{Variable}s in o and between i and o, including the owners of the variables in o and
intermediary ops between i and o, but not the owners of the L{Variable}s intermediary ops between i and o, but not the owners of the variables
in i. in i.
""" """
...@@ -753,7 +753,7 @@ def ops(i, o): ...@@ -753,7 +753,7 @@ def ops(i, o):
def variables(i, o): def variables(i, o):
""" """
Extracts list of variables within input and output nodes ( via dfs t ravesal) Extracts list of variables within input and output nodes via dfs travesal
Parameters Parameters
---------- ----------
...@@ -775,7 +775,8 @@ def variables(i, o): ...@@ -775,7 +775,8 @@ def variables(i, o):
def orphans(i, o): def orphans(i, o):
""" """
Extracts list of variables within input and output nodes ( via dfs t ravesal) and returns the "orphans" among them Extracts list of variables within input and output nodes
via dfs travesal and returns the orphans among them
Parameters Parameters
---------- ----------
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论