Commit graph

20 commits

Author SHA1 Message Date
Florent
44dffce7b2 Rename CapBase to Capability 2014-09-26 10:18:12 +02:00
Florent
e5f11a15eb s/IBaseCap/CapBase/ (refs #1424) 2014-07-09 12:59:31 +02:00
Florent
537b49e6bd DateField/TimeField/Delta are not really a base object 2014-07-09 11:46:46 +02:00
Romain Bignon
e025fb0b20 rename ICap to Cap (closes #1424) 2014-07-05 17:33:44 +02:00
Romain Bignon
51958135cb rename CapBaseObject to BaseObject (refs #1424) 2014-07-05 17:26:05 +02:00
Florent
aa491a8074 Add date object to weather capability
Make it consistent with "Current", accepting both date and datetime.
2014-01-27 17:44:12 +01:00
Florent
f667fb972b Fix #1333: zero temperature can not be displayed
In __repr__ of Temperature object, the test "if self.value" failed if
the temperature is zero.
2014-01-22 12:31:49 +01:00
Bezleputh
bd0d1d3eff [Bug #1318] fix htmltable display for wetboobs forecast command 2013-12-04 12:09:15 +01:00
Romain Bignon
c5ee2aec2a always call base constructor of CapBaseObject to prevent shared fields 2013-03-30 22:35:24 +01:00
Laurent Bachelier
7094931c92 Easy spacing fixes, trailing stuff
Remove useless trailing \
Remove trailing spaces
Add missing empty lines

autopep8 -ir -j2 --select=E301,E302,E502,W291,W293,W391 .

Diff quickly checked.
2013-03-16 00:54:55 +01:00
Arno Renevier
bfe39958bd allow wetboob to display temperatures either on celsius or on fahrenheit
Close #843
2012-05-10 15:13:34 +02:00
Romain Bignon
aea269e9f6 create UserError exception
Modules can raise this exception when they want to print errors to user
2012-04-25 13:43:52 +02:00
Romain Bignon
c6a141595c change way to describe fields of CapBaseObject, and lot of documentation 2012-03-26 14:35:54 +02:00
Romain Bignon
7e2bb91b3b change license to AGPLv3+ 2011-04-08 12:48:07 +02:00
Romain Bignon
31921549a7 use specific formatter for 'current' command 2010-12-06 15:26:54 +01:00
Romain Bignon
4dfa8654b3 use new CapBaseObject API 2010-12-06 13:18:38 +01:00
Romain Bignon
e980e040ba capabilities objets inherit from CapBaseObject (refs #369) 2010-08-12 17:22:04 +02:00
Christophe Benz
45ffb0fe7d s/ICap/IBaseCap and add constants 2010-08-12 16:04:53 +02:00
Christophe Benz
470f2a9fe2 use real comments for licence header 2010-06-22 16:27:33 +02:00
Romain Bignon
06707256c4 new capability: ICapWeather 2010-04-12 22:03:47 +02:00