Commit graph

14 commits

Author SHA1 Message Date
Laurent Bachelier
ae06ae3384 Add missing "whatis entry" to man pages
This is recommended by Debian.
closes #618
2013-02-13 00:38:33 +01:00
Laurent Bachelier
006e97a8be PEP8 style fixes and other small style fixes
I used autopep8 on some files and did carefully check the changes.
I ignored E501,E302,E231,E225,E222,E221,E241,E203 in my search, and at
least E501 on any autopep8 run.

Other style fixes not related to PEP8:
* Only use new-style classes. I don't think the usage of old-style
  classes was voluntary. Old-style classes are removed in Python 3.
* Convert an if/else to a one-liner in mediawiki, change docstring style
  change to a comment something that wasn't really appropriate for a
  docstring.
* Unneeded first if condition in meteofrance
2012-03-14 04:51:46 +01:00
Romain Bignon
6b8a163158 change paths of related files to XDG specs 2012-03-03 23:19:38 +01:00
Romain Bignon
2476cbfa1b fix application URL 2012-03-03 23:00:45 +01:00
Romain Bignon
04183000bc do not print supported websites if empty 2012-02-06 20:02:09 +01:00
Romain Bignon
1288af8e93 sort commands by name 2011-05-08 17:27:00 +02:00
Laurent Bachelier
8075d538f0 Better messages and return codes in applications
Use stderr and return codes >0 when it makes sense.
Loose return code conventions:
* 1 for generic errors
* 2 for user input errors
* 3 for remote errors (not found, etc.)
* 4 for not implemented
2011-05-04 00:44:43 +02:00
Romain Bignon
7e2bb91b3b change license to AGPLv3+ 2011-04-08 12:48:07 +02:00
Christophe Benz
ca658e3946 python2.5 compatibility. 2011-04-04 21:51:51 +02:00
Romain Bignon
55a1574df5 display application version 2010-12-09 13:50:18 +01:00
Romain Bignon
7b5e5f3289 display supported websites (closes #427) 2010-12-09 12:05:41 +01:00
Christophe Benz
3dd50f363d remove unnecessary brackets 2010-12-08 18:10:42 +01:00
Romain Bignon
8f39c0618c display usage, description and commands list in a proper way, display copyright and files list (refs #427) 2010-12-08 17:55:27 +01:00
Laurent Bachelier
f296b6e0e3 Horrible tool to create manpages
Far from enough to replace the current manpages as of now, so they are
put in the man2/ directory.
2010-11-26 00:47:46 +01:00