Commit graph

19 commits

Author SHA1 Message Date
Romain Bignon
6fcac89dd5 first step in python3 support 2014-05-17 14:27:55 +02:00
Laurent Bachelier
a6ad7e83ff Use newer form of catching exceptions
autopep8 -i --select=W602
Also some other minor deprecated syntax changes, like "while 1".
I did not commit the less obvious changes.
2013-07-27 15:16:16 +02:00
Romain Bignon
c0740e695d remove useless import of with_statement (we do not support anymore python2.5)
refs #806
2013-07-27 14:38:18 +02:00
Romain Bignon
fdcc4ec4b9 change '_backend' setting to '_module' (closes #789) 2013-07-27 13:47:04 +02:00
Gabriel Kerneis
6bb6d1e42b Fix english sentence 2013-05-28 11:19:04 +02:00
Laurent Bachelier
46462995b9 Do not make dir if it exists 2013-04-17 09:10:39 +02:00
Laurent Bachelier
359c4ec879 Create containing directory
This might happen when WEBOOB_BACKENDS is outside of the WEBOOB_WORKDIR.
2013-04-05 18:50:43 +02: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
c26f7170bc remove unused import 2011-06-21 13:20:41 +02:00
Romain Bignon
2316872c0c more generic test in creation of config file (closes #556) 2011-06-21 12:48:40 +02:00
Romain Bignon
cb1372b99f new class BackendConfig to manage backend configs 2011-05-21 10:26:57 +02:00
Romain Bignon
7602f0c1cc oops invalid syntax 2011-04-26 13:17:39 +02:00
Romain
f43b2e6834 Fix FreeBSD support (permission issue)
Signed-off-by: Romain <romain.garbage@gmail.com>
2011-04-26 13:05:42 +02:00
Romain Bignon
c6854cbfa3 FreeBSD support (thanks to Romain Garbage) 2011-04-26 08:17:38 +02:00
Romain Bignon
7e2bb91b3b change license to AGPLv3+ 2011-04-08 12:48:07 +02:00
Laurent Dufréchou
86937aef95 Modifications to support boobank under win32
Signed-off-by: Romain Bignon <romain@peerfuse.org>
2011-03-17 11:55:46 +01:00
Romain Bignon
7840a165e4 don't crash if field value is special unicode chars 2010-10-01 21:23:46 +02:00
Romain Bignon
04037e7893 repl: interactive add of backends when no one is loaded at startup 2010-09-25 00:57:54 -04:00
Romain Bignon
9f5c9aeebc renamed BackendsLoader to ModulesLoader 2010-08-24 11:03:39 +02:00