pylint fixes and bug fixes for CLI/GUI split

svn: r12677
This commit is contained in:
Benny Malengier
2009-06-19 08:46:17 +00:00
parent a16fc9a8cb
commit 5f77bfea3b
7 changed files with 151 additions and 74 deletions

View File

@ -33,7 +33,6 @@ Module responsible for handling the command line arguments for GRAMPS.
# Standard python modules
#
#-------------------------------------------------------------------------
import os
import sys
import getopt
from gettext import gettext as _
@ -250,6 +249,9 @@ class ArgParser(object):
return True
def print_help(self):
"""
If the user gives the --help or -h option, print the output to terminal
"""
if self.help:
print _HELP
sys.exit(0)