From 68e9bb53208848f434648891a6894154cf22932e Mon Sep 17 00:00:00 2001 From: Sol Jerome Date: Tue, 17 May 2011 11:10:58 -0500 Subject: doc: Fix formatting error Signed-off-by: Sol Jerome --- doc/server/configurationentries.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/server/configurationentries.txt b/doc/server/configurationentries.txt index 91aed99b6..10eccf6be 100644 --- a/doc/server/configurationentries.txt +++ b/doc/server/configurationentries.txt @@ -38,7 +38,7 @@ Non-POSIX entries PostInstall entries are deprecated in favor of Action entries. In fact, a PostInstall entry is simply a specific type of Action. - Basically, the following are equivalent:: + Basically, the following are equivalent: .. code-block:: xml -- cgit v1.2.3-1-g7c22 From 8553dc47deb9367ef721427a5d95dd1875e86c63 Mon Sep 17 00:00:00 2001 From: Sol Jerome Date: Tue, 17 May 2011 11:46:58 -0500 Subject: bcfg2-info: Fix traceback when no args specified Signed-off-by: Sol Jerome --- src/sbin/bcfg2-info | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sbin/bcfg2-info b/src/sbin/bcfg2-info index fc36b2602..c36e1af42 100755 --- a/src/sbin/bcfg2-info +++ b/src/sbin/bcfg2-info @@ -487,7 +487,7 @@ if __name__ == '__main__': }) setup = Bcfg2.Options.OptionParser(optinfo) setup.parse(sys.argv[1:]) - if setup['args'][0] == 'help': + if setup['args'] and setup['args'][0] == 'help': print(USAGE) sys.exit(0) elif setup['profile'] and have_profile: -- cgit v1.2.3-1-g7c22