Make functions without doc strings not print docs

This commit is contained in:
Thomas S Hatch 2011-03-14 15:10:55 -06:00
parent 04893c3bee
commit 14cb85bb50

View file

@ -100,7 +100,8 @@ class SaltCMD(object):
for host in ret:
for fun in ret[host]:
if not docs.has_key(fun):
docs[fun] = ret[host][fun]
if ret[host][fun]
docs[fun] = ret[host][fun]
for fun in docs:
print fun
print docs[fun]