Ticket #32 (accepted enhancement)

Opened 6 months ago

Last modified 6 months ago

Consider using Mercurial's config parser instead of ConfigParser

Reported by: sheep Owned by: sheep
Priority: Low Milestone: 1.4.0
Component: Hatta Wiki Version: 1.3.3dev
Keywords: Cc:

Description

Currently Hatta uses ConfigParser for parsing its configuration files (which are roughly in .ini format). That module is included in Python's standard library.

But Mercurial (required by Hatta) also has a config file reader (and also using roughly .ini format). It's much simpler than than ConfigParser, but doesn't have its limitations about requiring sections.

It may be worthwhile to use the Mercurial's library.

Change History

comment:1 Changed 6 months ago by sheep

One thing that hg's parser lacks is saving, which is used by HattaQTIcon.

comment:2 Changed 6 months ago by sheep

  • Status changed from new to accepted
  • Milestone set to 1.4.0
Note: See TracTickets for help on using tickets.