Ticket #32 (accepted enhancement)

Opened 2 years ago

Last modified 18 months ago

Consider using Mercurial's config parser instead of ConfigParser

Reported by: sheep Owned by: sheep
Priority: Low Milestone: 1.5.0
Component: Hatta Wiki Version: 1.4.1dev
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 2 years ago by sheep

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

comment:2 Changed 2 years ago by sheep

  • Status changed from new to accepted
  • Milestone set to 1.4.0

comment:3 Changed 18 months ago by sheep

  • Version changed from 1.3.3dev to 1.4.1dev
  • Milestone changed from 1.4.0 to 1.5.0
Note: See TracTickets for help on using tickets.