aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiuseppe Di Natale <[email protected]>2017-03-09 10:21:59 -0800
committerBrian Behlendorf <[email protected]>2017-03-09 10:21:59 -0800
commitc3d043817305efebce89db5d9146e70807c4043b (patch)
tree8f49fc881d38c7234eae0614cf66a03b21a29bb6
parentc552fbc5f025f3c1e74b85c1c0d536ee272defd0 (diff)
Correct arc_summary and dbufstat python style
arc_summary and dbufstat should have two spaces after their last function definitions. Reviewed-by: George Melikov <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Giuseppe Di Natale <[email protected]> Closes #5881
-rwxr-xr-xcmd/arc_summary/arc_summary.py1
-rwxr-xr-xcmd/dbufstat/dbufstat.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/cmd/arc_summary/arc_summary.py b/cmd/arc_summary/arc_summary.py
index 83918a645..f5aac737b 100755
--- a/cmd/arc_summary/arc_summary.py
+++ b/cmd/arc_summary/arc_summary.py
@@ -987,5 +987,6 @@ def main():
page(Kstat)
div2()
+
if __name__ == '__main__':
main()
diff --git a/cmd/dbufstat/dbufstat.py b/cmd/dbufstat/dbufstat.py
index ceb0160cd..dda0a143f 100755
--- a/cmd/dbufstat/dbufstat.py
+++ b/cmd/dbufstat/dbufstat.py
@@ -577,5 +577,6 @@ def main():
if tflag:
print_dict(types_build_dict(sys.stdin))
+
if __name__ == '__main__':
main()