* src/MarkupText.py: cleanup
* src/DisplayTabs/_NoteTab.py (build_interface): debug log * src/const.py.in: add new command line arg '-d,--debug' * src/gramps.py (setup_logging): change root logger default level to WARNING * src/ArgHandler.py (parse_arg): handle command line arg: debug 2007-02-12 Zsolt Foldvari <zfoldvar@users.sourceforge.net> svn: r8093
This commit is contained in:
@@ -47,13 +47,7 @@ log = logging.getLogger(".MarkupText")
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
import gtk
|
||||
import pango
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# Constants
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
class MarkupParser(ContentHandler):
|
||||
"""A simple ContentHandler class to parse Gramps markup'ed text.
|
||||
|
||||
@@ -83,7 +77,7 @@ class MarkupParser(ContentHandler):
|
||||
if name == 'gramps':
|
||||
self._open_document = True
|
||||
else:
|
||||
raise SAXParseException('Root tag missing')
|
||||
raise SAXParseException('Root element missing')
|
||||
else:
|
||||
self._open_elements.append({'name': name,
|
||||
'attrs': attrs.copy(),
|
||||
|
||||
Reference in New Issue
Block a user