]> git.llucax.com Git - software/blitiri.git/log
software/blitiri.git
17 years agoRelax config import to make it usable.
Alberto Bertogli [Tue, 22 May 2007 05:30:36 +0000 (02:30 -0300)]
Relax config import to make it usable.

The os.path.isfile("config.py") check is too strict: it makes blitiri
usable from the command line only if it's ran in the directory where it
lives.

There's no point in doing that, let's just relax the import.
The chances of a config module collision are too low to be worth the
usability problem.

Signed-off-by: Alberto Bertogli <albertito@gmail.com>
17 years agoBe more verbose with article path errors.
Alberto Bertogli [Tue, 22 May 2007 05:28:52 +0000 (02:28 -0300)]
Be more verbose with article path errors.

It's easier to debug problems if we echo the full paths when dying because
the article is not inside the data path.

Signed-off-by: Alberto Bertogli <albertito@gmail.com>
17 years agoAdd coding:utf8 to the sample config file.
Alberto Bertogli [Tue, 22 May 2007 05:09:45 +0000 (02:09 -0300)]
Add coding:utf8 to the sample config file.

If somebody edits and uses a non-ascii character, importing it will
fail and blitiri will just ignore it, which is not easier to debug.

Signed-off-by: Alberto Bertogli <albertito@gmail.com>
17 years agoInitial commit.
Alberto Bertogli [Tue, 22 May 2007 04:54:55 +0000 (01:54 -0300)]
Initial commit.

Signed-off-by: Alberto Bertogli <albertito@gmail.com>