diff --git a/weboob/applications/boobank/boobank.py b/weboob/applications/boobank/boobank.py index ee241f95fcc473d96dcc1378549303939a6f2f62..44fda492af80a8b0ea4fb26372fd16696d695201 100644 --- a/weboob/applications/boobank/boobank.py +++ b/weboob/applications/boobank/boobank.py @@ -284,7 +284,7 @@ def flush(self): class Boobank(ReplApplication): APPNAME = 'boobank' VERSION = '1.1' - COPYRIGHT = 'Copyright(C) 2010-2011 Romain Bignon, Christophe Benz' + COPYRIGHT = 'Copyright(C) 2010-YEAR Romain Bignon, Christophe Benz' CAPS = CapBank DESCRIPTION = "Console application allowing to list your bank accounts and get their balance, " \ "display accounts history and coming bank operations, and transfer money from an account to " \ diff --git a/weboob/applications/boobathon/boobathon.py b/weboob/applications/boobathon/boobathon.py index 09c30c34ef95f58a0ca4ec3a29c9b73326af3fc7..d46262fe7d3865c368024f846053bfde2a4d64a8 100644 --- a/weboob/applications/boobathon/boobathon.py +++ b/weboob/applications/boobathon/boobathon.py @@ -279,7 +279,7 @@ def save(self, message): class Boobathon(ReplApplication): APPNAME = 'boobathon' VERSION = '1.1' - COPYRIGHT = 'Copyright(C) 2011 Romain Bignon' + COPYRIGHT = 'Copyright(C) 2011-YEAR Romain Bignon' DESCRIPTION = 'Console application to participate to a Boobathon.' SHORT_DESCRIPTION = "participate in a Boobathon" CAPS = CapContent diff --git a/weboob/applications/boobcoming/boobcoming.py b/weboob/applications/boobcoming/boobcoming.py index 9800506a9afd40fcef50251042ec3c1a108bf16e..63853a386836370d9bd43a9ff7358c9b7b82a53f 100644 --- a/weboob/applications/boobcoming/boobcoming.py +++ b/weboob/applications/boobcoming/boobcoming.py @@ -141,7 +141,7 @@ def format_obj(self, obj, alias): class Boobcoming(ReplApplication): APPNAME = 'boobcoming' VERSION = '1.1' - COPYRIGHT = 'Copyright(C) 2012 Bezleputh' + COPYRIGHT = 'Copyright(C) 2012-YEAR Bezleputh' DESCRIPTION = "Console application to see upcoming events." SHORT_DESCRIPTION = "see upcoming events" CAPS = CapCalendarEvent diff --git a/weboob/applications/boobill/boobill.py b/weboob/applications/boobill/boobill.py index bd0e6bd57ab0d1edc274b064479c95e93fa12c35..a2d3a77da1406dd5437c9f8dc06e70e26fdbd34a 100644 --- a/weboob/applications/boobill/boobill.py +++ b/weboob/applications/boobill/boobill.py @@ -42,7 +42,7 @@ def get_title(self, obj): class Boobill(ReplApplication): APPNAME = 'boobill' VERSION = '1.1' - COPYRIGHT = 'Copyright(C) 2012 Florent Fourcot' + COPYRIGHT = 'Copyright(C) 2012-YEAR Florent Fourcot' DESCRIPTION = 'Console application allowing to get and download bills.' SHORT_DESCRIPTION = "get and download bills" CAPS = CapBill diff --git a/weboob/applications/booblyrics/booblyrics.py b/weboob/applications/booblyrics/booblyrics.py index 00f06d44aa178bcb73750c8731fbb6173bf61a24..7480316e8d6fb8bd2e249f0323a6b2b00a3ae769 100644 --- a/weboob/applications/booblyrics/booblyrics.py +++ b/weboob/applications/booblyrics/booblyrics.py @@ -57,7 +57,7 @@ def get_description(self, obj): class Booblyrics(ReplApplication): APPNAME = 'booblyrics' VERSION = '1.1' - COPYRIGHT = 'Copyright(C) 2013 Julien Veyssier' + COPYRIGHT = 'Copyright(C) 2013-YEAR Julien Veyssier' DESCRIPTION = "Console application allowing to search for song lyrics on various websites." SHORT_DESCRIPTION = "search and display song lyrics" CAPS = CapLyrics diff --git a/weboob/applications/boobmsg/boobmsg.py b/weboob/applications/boobmsg/boobmsg.py index ecde81316eca551409ec0d81c301c5b4128ecd5b..063cfd7b8112aef7d586595c916afb8d3f8ed336 100644 --- a/weboob/applications/boobmsg/boobmsg.py +++ b/weboob/applications/boobmsg/boobmsg.py @@ -236,7 +236,7 @@ def format_obj(self, obj, alias=None): class Boobmsg(ReplApplication): APPNAME = 'boobmsg' VERSION = '1.1' - COPYRIGHT = 'Copyright(C) 2010-2011 Christophe Benz' + COPYRIGHT = 'Copyright(C) 2010-YEAR Christophe Benz' DESCRIPTION = "Console application allowing to send messages on various websites and " \ "to display message threads and contents." SHORT_DESCRIPTION = "send and receive message threads" diff --git a/weboob/applications/boobooks/boobooks.py b/weboob/applications/boobooks/boobooks.py index 1e5cd3700319e167ec90ef080dce3a8b1be21c8a..8a8295fc70061d93c463af8d9acd0db91d5db110 100644 --- a/weboob/applications/boobooks/boobooks.py +++ b/weboob/applications/boobooks/boobooks.py @@ -41,7 +41,7 @@ def get_title(self, obj): class Boobooks(ReplApplication): APPNAME = 'boobooks' VERSION = '1.1' - COPYRIGHT = 'Copyright(C) 2012 Jeremy Monnet' + COPYRIGHT = 'Copyright(C) 2012-YEAR Jeremy Monnet' CAPS = CapBook DESCRIPTION = "Console application allowing to list your books rented or booked at the library, " \ "book and search new ones, get your booking history (if available)." diff --git a/weboob/applications/boobsize/boobsize.py b/weboob/applications/boobsize/boobsize.py index 5d196ef006a43a6453521e7d06d57f139c749a66..8a1413ae3862964191871a03492c2c636aac004a 100644 --- a/weboob/applications/boobsize/boobsize.py +++ b/weboob/applications/boobsize/boobsize.py @@ -95,7 +95,7 @@ def format_obj(self, obj, alias): class Boobsize(ReplApplication): APPNAME = 'Boobsize' VERSION = '1.1' - COPYRIGHT = 'Copyright(C) 2013 Florent Fourcot' + COPYRIGHT = 'Copyright(C) 2013-YEAR Florent Fourcot' DESCRIPTION = "Console application allowing to display various sensors and gauges values." SHORT_DESCRIPTION = "display sensors and gauges values" CAPS = (CapGauge) diff --git a/weboob/applications/boobtracker/boobtracker.py b/weboob/applications/boobtracker/boobtracker.py index 09deb28dc7b3111d443bc4c22a4fa753244194b3..1a3957452b3104c6d359a7f58abbf9ffed83462a 100644 --- a/weboob/applications/boobtracker/boobtracker.py +++ b/weboob/applications/boobtracker/boobtracker.py @@ -106,7 +106,7 @@ def get_description(self, obj): class BoobTracker(ReplApplication): APPNAME = 'boobtracker' VERSION = '1.1' - COPYRIGHT = 'Copyright(C) 2011 Romain Bignon' + COPYRIGHT = 'Copyright(C) 2011-YEAR Romain Bignon' DESCRIPTION = "Console application allowing to create, edit, view bug tracking issues." SHORT_DESCRIPTION = "manage bug tracking issues" CAPS = CapBugTracker diff --git a/weboob/applications/cineoob/cineoob.py b/weboob/applications/cineoob/cineoob.py index 0e632390d88a4eb8eca7baf05c3196b3f8fbd622..fdc1a2a781bc97f845dd96ce3e2716189c344afc 100644 --- a/weboob/applications/cineoob/cineoob.py +++ b/weboob/applications/cineoob/cineoob.py @@ -177,7 +177,7 @@ def get_description(self, obj): class Cineoob(ReplApplication): APPNAME = 'cineoob' VERSION = '1.1' - COPYRIGHT = 'Copyright(C) 2013 Julien Veyssier' + COPYRIGHT = 'Copyright(C) 2013-YEAR Julien Veyssier' DESCRIPTION = "Console application allowing to search for movies and persons on various cinema databases " \ ", list persons related to a movie, list movies related to a person and list common movies " \ "of two persons." diff --git a/weboob/applications/comparoob/comparoob.py b/weboob/applications/comparoob/comparoob.py index af966b42e2a586fc240af58fa6c46cc8ac2a340e..e3d898cbf69053506774b21f222b226febc8055b 100644 --- a/weboob/applications/comparoob/comparoob.py +++ b/weboob/applications/comparoob/comparoob.py @@ -75,7 +75,7 @@ def get_description(self, obj): class Comparoob(ReplApplication): APPNAME = 'comparoob' VERSION = '1.1' - COPYRIGHT = 'Copyright(C) 2012 Romain Bignon' + COPYRIGHT = 'Copyright(C) 2012-YEAR Romain Bignon' DESCRIPTION = "Console application to compare products." SHORT_DESCRIPTION = "compare products" DEFAULT_FORMATTER = 'table' diff --git a/weboob/applications/cookboob/cookboob.py b/weboob/applications/cookboob/cookboob.py index a8990eec87fef3b38932ff88883eb14b555fff05..fc4521565c754551aa7489cef804abe7ce74efa5 100644 --- a/weboob/applications/cookboob/cookboob.py +++ b/weboob/applications/cookboob/cookboob.py @@ -75,7 +75,7 @@ def get_description(self, obj): class Cookboob(ReplApplication): APPNAME = 'cookboob' VERSION = '1.1' - COPYRIGHT = 'Copyright(C) 2013 Julien Veyssier' + COPYRIGHT = 'Copyright(C) 2013-YEAR Julien Veyssier' DESCRIPTION = "Console application allowing to search for recipes on various websites." SHORT_DESCRIPTION = "search and consult recipes" CAPS = CapRecipe diff --git a/weboob/applications/flatboob/flatboob.py b/weboob/applications/flatboob/flatboob.py index 3806be75d9bfc0fde01d76d93d828dd0702f4149..99a06ff6799c356761ee66962bff6e2cd82f9e7b 100644 --- a/weboob/applications/flatboob/flatboob.py +++ b/weboob/applications/flatboob/flatboob.py @@ -81,7 +81,7 @@ def get_description(self, obj): class Flatboob(ReplApplication): APPNAME = 'flatboob' VERSION = '1.1' - COPYRIGHT = 'Copyright(C) 2012 Romain Bignon' + COPYRIGHT = 'Copyright(C) 2012-YEAR Romain Bignon' DESCRIPTION = "Console application to search for housing." SHORT_DESCRIPTION = "search for housing" CAPS = CapHousing diff --git a/weboob/applications/galleroob/galleroob.py b/weboob/applications/galleroob/galleroob.py index 66fc6af9df98d2f99066f240fc6f6436eee257e8..57707b8960cb90564b942faec1e78e12de8ac985 100644 --- a/weboob/applications/galleroob/galleroob.py +++ b/weboob/applications/galleroob/galleroob.py @@ -48,7 +48,7 @@ def get_description(self, obj): class Galleroob(ReplApplication): APPNAME = 'galleroob' VERSION = '1.1' - COPYRIGHT = u'Copyright(C) 2011 Noé Rubinstein' + COPYRIGHT = u'Copyright(C) 2011-2014 Noé Rubinstein' DESCRIPTION = 'galleroob browses and downloads web image galleries' SHORT_DESCRIPTION = 'browse and download web image galleries' CAPS = CapGallery diff --git a/weboob/applications/geolooc/geolooc.py b/weboob/applications/geolooc/geolooc.py index 1d7c5099417e817eff03cc5d389849986b34a593..bf043deb7e91fcf728bfb62d5d5271a27ff4a494 100644 --- a/weboob/applications/geolooc/geolooc.py +++ b/weboob/applications/geolooc/geolooc.py @@ -29,7 +29,7 @@ class Geolooc(ReplApplication): APPNAME = 'geolooc' VERSION = '1.1' - COPYRIGHT = 'Copyright(C) 2010-2011 Romain Bignon' + COPYRIGHT = 'Copyright(C) 2010-YEAR Romain Bignon' DESCRIPTION = "Console application allowing to geolocalize IP addresses." SHORT_DESCRIPTION = "geolocalize IP addresses" CAPS = CapGeolocIp diff --git a/weboob/applications/handjoob/handjoob.py b/weboob/applications/handjoob/handjoob.py index 1edef295e7ed761d4767a5d5cdce0fb92328a129..1443d28be8eab024907d40783732a00e9701ad43 100644 --- a/weboob/applications/handjoob/handjoob.py +++ b/weboob/applications/handjoob/handjoob.py @@ -76,7 +76,7 @@ def get_description(self, obj): class Handjoob(ReplApplication): APPNAME = 'handjoob' VERSION = '1.1' - COPYRIGHT = 'Copyright(C) 2012 Bezleputh' + COPYRIGHT = 'Copyright(C) 2012-YEAR Bezleputh' DESCRIPTION = "Console application to search for a job." SHORT_DESCRIPTION = "search for a job" CAPS = CapJob diff --git a/weboob/applications/havedate/havedate.py b/weboob/applications/havedate/havedate.py index c03d02fad6fa90d1df7fa8e27b08a3c4846e46bf..8a4fa8419d66c7eb35f8676ce9ade6119a2c6a33 100644 --- a/weboob/applications/havedate/havedate.py +++ b/weboob/applications/havedate/havedate.py @@ -49,7 +49,7 @@ def get_description(self, event): class HaveDate(Boobmsg): APPNAME = 'havedate' VERSION = '1.1' - COPYRIGHT = 'Copyright(C) 2010-2012 Romain Bignon' + COPYRIGHT = 'Copyright(C) 2010-YEAR Romain Bignon' DESCRIPTION = "Console application allowing to interact with various dating websites " \ "and to optimize seduction algorithmically." SHORT_DESCRIPTION = "interact with dating websites" diff --git a/weboob/applications/masstransit/masstransit.py b/weboob/applications/masstransit/masstransit.py index 7e048e4135981344b3874bda241abc2ac7480a78..3ad66210a795ce71cc1a23b7bc76289144e6f12f 100644 --- a/weboob/applications/masstransit/masstransit.py +++ b/weboob/applications/masstransit/masstransit.py @@ -279,7 +279,7 @@ class Masstransit(Application): "Application Class" APPNAME = 'masstransit' VERSION = '1.1' - COPYRIGHT = 'Copyright(C) 2010-2011 Julien Hébert' + COPYRIGHT = 'Copyright(C) 2010-YEAR Julien Hébert' DESCRIPTION = "Maemo application allowing to search for train stations and get departure times." SHORT_DESCRIPTION = "search for train stations and departures" diff --git a/weboob/applications/monboob/monboob.py b/weboob/applications/monboob/monboob.py index 7148861ff3b1e321776efc05127ced926d3b2460..c1c75b0918a11063aa64008b79e3767259fb93d6 100644 --- a/weboob/applications/monboob/monboob.py +++ b/weboob/applications/monboob/monboob.py @@ -90,7 +90,7 @@ def run(self): class Monboob(ReplApplication): APPNAME = 'monboob' VERSION = '1.1' - COPYRIGHT = 'Copyright(C) 2010-2011 Romain Bignon' + COPYRIGHT = 'Copyright(C) 2010-YEAR Romain Bignon' DESCRIPTION = 'Daemon allowing to regularly check for new messages on various websites, ' \ 'and send an email for each message, and post a reply to a message on a website.' SHORT_DESCRIPTION = "daemon to send and check messages" diff --git a/weboob/applications/parceloob/parceloob.py b/weboob/applications/parceloob/parceloob.py index 0a8d10b739108862f3765b846f5e9e55551b2e9a..00598d0837a1401d5c00601d66d549dcb27ffdc2 100644 --- a/weboob/applications/parceloob/parceloob.py +++ b/weboob/applications/parceloob/parceloob.py @@ -85,7 +85,7 @@ def format_obj(self, obj, alias): class Parceloob(ReplApplication): APPNAME = 'parceloob' VERSION = '1.1' - COPYRIGHT = 'Copyright(C) 2013 Romain Bignon' + COPYRIGHT = 'Copyright(C) 2013-YEAR Romain Bignon' CAPS = CapParcel DESCRIPTION = "Console application to track your parcels." SHORT_DESCRIPTION = "manage your parcels" diff --git a/weboob/applications/pastoob/pastoob.py b/weboob/applications/pastoob/pastoob.py index 9ed3c472f7112be9cec1296983755d8e009c24ea..a46f5a14630fb7816eeca1535dacadff29ba98e5 100644 --- a/weboob/applications/pastoob/pastoob.py +++ b/weboob/applications/pastoob/pastoob.py @@ -34,7 +34,7 @@ class Pastoob(ReplApplication): APPNAME = 'pastoob' VERSION = '1.1' - COPYRIGHT = 'Copyright(C) 2011-2013 Laurent Bachelier' + COPYRIGHT = 'Copyright(C) 2011-YEAR Laurent Bachelier' DESCRIPTION = "Console application allowing to post and get pastes from pastebins." SHORT_DESCRIPTION = "post and get pastes from pastebins" CAPS = CapPaste diff --git a/weboob/applications/qboobmsg/qboobmsg.py b/weboob/applications/qboobmsg/qboobmsg.py index b2109148941fd51a1bef153950ac82d8c7d1c549..711a914cd449d0a2b615496ab08030091039d964 100644 --- a/weboob/applications/qboobmsg/qboobmsg.py +++ b/weboob/applications/qboobmsg/qboobmsg.py @@ -27,7 +27,7 @@ class QBoobMsg(QtApplication): APPNAME = 'qboobmsg' VERSION = '1.1' - COPYRIGHT = 'Copyright(C) 2010-2011 Romain Bignon' + COPYRIGHT = 'Copyright(C) 2010-YEAR Romain Bignon' DESCRIPTION = "Qt application allowing to read messages on various websites and reply to them." SHORT_DESCRIPTION = "send and receive message threads" CAPS = CapMessages diff --git a/weboob/applications/qcineoob/qcineoob.py b/weboob/applications/qcineoob/qcineoob.py index e9aa77a8b4c75fc39cf7cde13e8e039d0db46859..14c3b360fdd2396a5685b34dabacbeb66a76814a 100644 --- a/weboob/applications/qcineoob/qcineoob.py +++ b/weboob/applications/qcineoob/qcineoob.py @@ -29,7 +29,7 @@ class QCineoob(QtApplication): APPNAME = 'qcineoob' VERSION = '1.1' - COPYRIGHT = 'Copyright(C) 2013 Julien Veyssier' + COPYRIGHT = 'Copyright(C) 2013-YEAR Julien Veyssier' DESCRIPTION = "Qt application allowing to search movies, people, torrent and subtitles." SHORT_DESCRIPTION = "search movies, people, torrent and subtitles" CAPS = CapCinema, CapTorrent, CapSubtitle diff --git a/weboob/applications/qcookboob/qcookboob.py b/weboob/applications/qcookboob/qcookboob.py index 0d8ab1fe0890857b40c50485226de433c8503458..260b1c4fd384391f000e4d1b39ddb4275453ee47 100644 --- a/weboob/applications/qcookboob/qcookboob.py +++ b/weboob/applications/qcookboob/qcookboob.py @@ -27,7 +27,7 @@ class QCookboob(QtApplication): APPNAME = 'qcookboob' VERSION = '1.1' - COPYRIGHT = 'Copyright(C) 2013 Julien Veyssier' + COPYRIGHT = 'Copyright(C) 2013-2014 Julien Veyssier' DESCRIPTION = "Qt application allowing to search recipes." SHORT_DESCRIPTION = "search recipes" CAPS = CapRecipe diff --git a/weboob/applications/qflatboob/qflatboob.py b/weboob/applications/qflatboob/qflatboob.py index 17f814630daeae90f243f5ea20f11d7c13513171..bbe563976bb8d1e5f36b4c72ba58a2a0b59679aa 100644 --- a/weboob/applications/qflatboob/qflatboob.py +++ b/weboob/applications/qflatboob/qflatboob.py @@ -28,7 +28,7 @@ class QFlatBoob(QtApplication): APPNAME = 'qflatboob' VERSION = '1.1' - COPYRIGHT = 'Copyright(C) 2010-2012 Romain Bignon' + COPYRIGHT = 'Copyright(C) 2010-2014 Romain Bignon' DESCRIPTION = "Qt application to search for housing." SHORT_DESCRIPTION = "search for housing" CAPS = CapHousing diff --git a/weboob/applications/qhandjoob/qhandjoob.py b/weboob/applications/qhandjoob/qhandjoob.py index f1617b3b5f974558d746d057a43a5ebb93b25b9c..207b2282dc9863f668b396c6b8855704f4a03bb1 100644 --- a/weboob/applications/qhandjoob/qhandjoob.py +++ b/weboob/applications/qhandjoob/qhandjoob.py @@ -28,7 +28,7 @@ class QHandJoob(QtApplication): APPNAME = 'qhandjoob' VERSION = '1.1' - COPYRIGHT = u'Copyright(C) 2013 Sébastien Monel' + COPYRIGHT = u'Copyright(C) 2013-2014 Sébastien Monel' DESCRIPTION = "Qt application to search for job." SHORT_DESCRIPTION = "search for job" CAPS = CapJob diff --git a/weboob/applications/qhavedate/qhavedate.py b/weboob/applications/qhavedate/qhavedate.py index e8e9f2ea854ab507f072cb61c1cc37ff8fcae74e..acb5b717f46f087d4a351888ce93623bfa6e41df 100644 --- a/weboob/applications/qhavedate/qhavedate.py +++ b/weboob/applications/qhavedate/qhavedate.py @@ -27,7 +27,7 @@ class QHaveDate(QtApplication): APPNAME = 'qhavedate' VERSION = '1.1' - COPYRIGHT = 'Copyright(C) 2010-2012 Romain Bignon' + COPYRIGHT = 'Copyright(C) 2010-2014 Romain Bignon' DESCRIPTION = "Qt application allowing to interact with various dating websites." SHORT_DESCRIPTION = "interact with dating websites" CAPS = CapDating diff --git a/weboob/applications/qvideoob/qvideoob.py b/weboob/applications/qvideoob/qvideoob.py index e115ff424cefa57e2a5facf16a7bdab452433c8d..9d31793544414e7928df666ef7150e50a69188da 100644 --- a/weboob/applications/qvideoob/qvideoob.py +++ b/weboob/applications/qvideoob/qvideoob.py @@ -27,7 +27,7 @@ class QVideoob(QtApplication): APPNAME = 'qvideoob' VERSION = '1.1' - COPYRIGHT = 'Copyright(C) 2010-2011 Romain Bignon' + COPYRIGHT = 'Copyright(C) 2010-2014 Romain Bignon' DESCRIPTION = "Qt application allowing to search videos on various websites and play them." SHORT_DESCRIPTION = "search and play videos" CAPS = CapVideo diff --git a/weboob/applications/qwebcontentedit/qwebcontentedit.py b/weboob/applications/qwebcontentedit/qwebcontentedit.py index 23d7eae2a757959cf0f3135a71f417c0f1cb567f..7cd4c310169d10d85c5d93c580dabf07591a1127 100644 --- a/weboob/applications/qwebcontentedit/qwebcontentedit.py +++ b/weboob/applications/qwebcontentedit/qwebcontentedit.py @@ -26,7 +26,7 @@ class QWebContentEdit(QtApplication): APPNAME = 'qwebcontentedit' VERSION = '1.1' - COPYRIGHT = u'Copyright(C) 2011 Clément Schreiner' + COPYRIGHT = u'Copyright(C) 2011-2014 Clément Schreiner' DESCRIPTION = "Qt application allowing to manage content of various websites." SHORT_DESCRIPTION = "manage websites content" CAPS = CapContent diff --git a/weboob/applications/qweboobcfg/qweboobcfg.py b/weboob/applications/qweboobcfg/qweboobcfg.py index 7a6add0abd9efc9806ac6c07141d8ce45926257c..92703fdb8a7c36534652d4819844e033e4d288e6 100644 --- a/weboob/applications/qweboobcfg/qweboobcfg.py +++ b/weboob/applications/qweboobcfg/qweboobcfg.py @@ -24,7 +24,7 @@ class QWeboobCfg(QtApplication): APPNAME = 'qweboobcfg' VERSION = '1.1' - COPYRIGHT = 'Copyright(C) 2010-2011 Romain Bignon' + COPYRIGHT = 'Copyright(C) 2010-2014 Romain Bignon' DESCRIPTION = "weboob-config-qt is a graphical application to add/edit/remove backends, " \ "and to register new website accounts." SHORT_DESCRIPTION = "manage backends or register new accounts" diff --git a/weboob/applications/radioob/radioob.py b/weboob/applications/radioob/radioob.py index 5f439b0c6e58be4b40b1b776992d34eb6ea19a87..849623a78b5490c31669d1d9d0f82c22804156d2 100644 --- a/weboob/applications/radioob/radioob.py +++ b/weboob/applications/radioob/radioob.py @@ -126,7 +126,7 @@ def get_description(self, obj): class Radioob(ReplApplication): APPNAME = 'radioob' VERSION = '1.1' - COPYRIGHT = 'Copyright(C) 2010-2013 Romain Bignon\nCopyright(C) 2013 Pierre Maziere' + COPYRIGHT = 'Copyright(C) 2010-YEAR Romain Bignon\nCopyright(C) YEAR Pierre Maziere' DESCRIPTION = "Console application allowing to search for web radio stations, listen to them and get information " \ "like the current song." SHORT_DESCRIPTION = "search, show or listen to radio stations" diff --git a/weboob/applications/suboob/suboob.py b/weboob/applications/suboob/suboob.py index 738cc07cee34d114eb1694efb059b6907788b7ef..c957dbcbab68562a4c6a8f8717f67c6d0814f019 100644 --- a/weboob/applications/suboob/suboob.py +++ b/weboob/applications/suboob/suboob.py @@ -86,7 +86,7 @@ def get_description(self, obj): class Suboob(ReplApplication): APPNAME = 'suboob' VERSION = '1.1' - COPYRIGHT = 'Copyright(C) 2013 Julien Veyssier' + COPYRIGHT = 'Copyright(C) 2013-YEAR Julien Veyssier' DESCRIPTION = "Console application allowing to search for subtitles on various services " \ "and download them." SHORT_DESCRIPTION = "search and download subtitles" diff --git a/weboob/applications/translaboob/translaboob.py b/weboob/applications/translaboob/translaboob.py index 8834ea1d8d402f668f713c397a039ebefa87d55a..af25830906ad0c5f07d62ccd643b6fa6440b86a7 100644 --- a/weboob/applications/translaboob/translaboob.py +++ b/weboob/applications/translaboob/translaboob.py @@ -48,7 +48,7 @@ def format_obj(self, obj, alias): class Translaboob(ReplApplication): APPNAME = 'translaboob' VERSION = '1.1' - COPYRIGHT = 'Copyright(C) 2012 Lucien Loiseau' + COPYRIGHT = 'Copyright(C) 2012-YEAR Lucien Loiseau' DESCRIPTION = "Console application to translate text from one language to another" SHORT_DESCRIPTION = "translate text from one language to another" CAPS = CapTranslate diff --git a/weboob/applications/traveloob/traveloob.py b/weboob/applications/traveloob/traveloob.py index 8f265614d0ba15fff80ed5026f3c60b3119c2b58..43d546b6f6b5b302a147e194133d14e7ac276c63 100644 --- a/weboob/applications/traveloob/traveloob.py +++ b/weboob/applications/traveloob/traveloob.py @@ -67,7 +67,7 @@ def get_title(self, obj): class Traveloob(ReplApplication): APPNAME = 'traveloob' VERSION = '1.1' - COPYRIGHT = 'Copyright(C) 2010-2013 Romain Bignon' + COPYRIGHT = 'Copyright(C) 2010-YEAR Romain Bignon' DESCRIPTION = "Console application allowing to search for train stations and get departure times." SHORT_DESCRIPTION = "search for train stations and departures" CAPS = CapTravel diff --git a/weboob/applications/videoob/videoob.py b/weboob/applications/videoob/videoob.py index 46c7a32e4fd088609fb1856a47d7198119dbfa86..576ddb462baf2e175a3ae2c4e4f6e51356c3f3ef 100644 --- a/weboob/applications/videoob/videoob.py +++ b/weboob/applications/videoob/videoob.py @@ -54,7 +54,7 @@ def get_description(self, obj): class Videoob(ReplApplication): APPNAME = 'videoob' VERSION = '1.1' - COPYRIGHT = 'Copyright(C) 2010-2011 Christophe Benz, Romain Bignon, John Obbele' + COPYRIGHT = 'Copyright(C) 2010-YEAR Christophe Benz, Romain Bignon, John Obbele' DESCRIPTION = "Console application allowing to search for videos on various websites, " \ "play and download them and get information." SHORT_DESCRIPTION = "search and play videos" diff --git a/weboob/applications/webcontentedit/webcontentedit.py b/weboob/applications/webcontentedit/webcontentedit.py index 4e83fd1177407414b98df09258429b2860c7abc6..74dcda78bcd3d109a1bf5c11e6af7ee74d8e6e2e 100644 --- a/weboob/applications/webcontentedit/webcontentedit.py +++ b/weboob/applications/webcontentedit/webcontentedit.py @@ -35,7 +35,7 @@ class WebContentEdit(ReplApplication): APPNAME = 'webcontentedit' VERSION = '1.1' - COPYRIGHT = 'Copyright(C) 2010-2011 Romain Bignon' + COPYRIGHT = 'Copyright(C) 2010-YEAR Romain Bignon' DESCRIPTION = "Console application allowing to display and edit contents on various websites." SHORT_DESCRIPTION = "manage websites content" CAPS = CapContent diff --git a/weboob/applications/weboobcfg/weboobcfg.py b/weboob/applications/weboobcfg/weboobcfg.py index 044928fe967180b9b8bd479772e7b17ec06b921a..5452ddb29944fae11d1b27e9e3fd0c588410b867 100644 --- a/weboob/applications/weboobcfg/weboobcfg.py +++ b/weboob/applications/weboobcfg/weboobcfg.py @@ -34,7 +34,7 @@ class WeboobCfg(ReplApplication): APPNAME = 'weboob-config' VERSION = '1.1' - COPYRIGHT = 'Copyright(C) 2010-2012 Christophe Benz, Romain Bignon' + COPYRIGHT = 'Copyright(C) 2010-YEAR Christophe Benz, Romain Bignon' DESCRIPTION = "Weboob-Config is a console application to add/edit/remove backends, " \ "and to register new website accounts." SHORT_DESCRIPTION = "manage backends or register new accounts" diff --git a/weboob/applications/weboobcli/weboobcli.py b/weboob/applications/weboobcli/weboobcli.py index 1d2879213fd9f95a968a511a26ecaaa7d568e527..02c58da7b565a8aa94c4ecde43c9a84c1f834757 100644 --- a/weboob/applications/weboobcli/weboobcli.py +++ b/weboob/applications/weboobcli/weboobcli.py @@ -28,7 +28,7 @@ class WeboobCli(ReplApplication): APPNAME = 'weboob-cli' VERSION = '1.1' - COPYRIGHT = 'Copyright(C) 2010-2011 Romain Bignon' + COPYRIGHT = 'Copyright(C) 2010-YEAR Romain Bignon' SYNOPSIS = 'Usage: %prog [-dqv] [-b backends] [-cnfs] capability method [arguments..]\n' SYNOPSIS += ' %prog [--help] [--version]' DESCRIPTION = "Weboob-Cli is a console application to call a specific method on backends " \ diff --git a/weboob/applications/weboobdebug/weboobdebug.py b/weboob/applications/weboobdebug/weboobdebug.py index 8a58be08bde7be5b3d04960c97c38761879c7ff2..aaeb650cdf2a86a86ea82365ebc71e3f48ddd606 100644 --- a/weboob/applications/weboobdebug/weboobdebug.py +++ b/weboob/applications/weboobdebug/weboobdebug.py @@ -27,7 +27,7 @@ class WeboobDebug(Application): APPNAME = 'weboobdebug' VERSION = '1.1' - COPYRIGHT = 'Copyright(C) 2010-2011 Christophe Benz' + COPYRIGHT = 'Copyright(C) 2010-YEAR Christophe Benz' DESCRIPTION = "Weboob-Debug is a console application to debug backends." SHORT_DESCRIPTION = "debug backends" diff --git a/weboob/applications/weboobrepos/weboobrepos.py b/weboob/applications/weboobrepos/weboobrepos.py index 4b348b0303510cd5e75d114e6d52c1d34e2dcb51..eb1034ddbbd6509883c5f6eadcec504260cb79fa 100644 --- a/weboob/applications/weboobrepos/weboobrepos.py +++ b/weboob/applications/weboobrepos/weboobrepos.py @@ -39,7 +39,7 @@ class WeboobRepos(ReplApplication): APPNAME = 'weboob-repos' VERSION = '1.1' - COPYRIGHT = 'Copyright(C) 2012 Romain Bignon' + COPYRIGHT = 'Copyright(C) 2012-YEAR Romain Bignon' DESCRIPTION = "Weboob-repos is a console application to manage a Weboob Repository." SHORT_DESCRIPTION = "manage a weboob repository" COMMANDS_FORMATTERS = {'backends': 'table', diff --git a/weboob/applications/weboorrents/weboorrents.py b/weboob/applications/weboorrents/weboorrents.py index a86c89d0d784a2513c83121bf4263bb5979b0709..402c9bf71be2d551f98870a1014bee4424654793 100644 --- a/weboob/applications/weboorrents/weboorrents.py +++ b/weboob/applications/weboorrents/weboorrents.py @@ -91,7 +91,7 @@ def get_description(self, obj): class Weboorrents(ReplApplication): APPNAME = 'weboorrents' VERSION = '1.1' - COPYRIGHT = 'Copyright(C) 2010-2012 Romain Bignon' + COPYRIGHT = 'Copyright(C) 2010-YEAR Romain Bignon' DESCRIPTION = "Console application allowing to search for torrents on various trackers " \ "and download .torrent files." SHORT_DESCRIPTION = "search and download torrents" diff --git a/weboob/applications/wetboobs/wetboobs.py b/weboob/applications/wetboobs/wetboobs.py index dd923ca2c64d2b8b24c77c92acd2592e855e3e74..9919322bfa6b1249942f2d75c9c321491c6d5485 100644 --- a/weboob/applications/wetboobs/wetboobs.py +++ b/weboob/applications/wetboobs/wetboobs.py @@ -60,7 +60,7 @@ def get_title(self, obj): class WetBoobs(ReplApplication): APPNAME = 'wetboobs' VERSION = '1.1' - COPYRIGHT = 'Copyright(C) 2010-2014 Romain Bignon' + COPYRIGHT = 'Copyright(C) 2010-YEAR Romain Bignon' DESCRIPTION = "Console application allowing to display weather and forecasts in your city." SHORT_DESCRIPTION = "display weather and forecasts" CAPS = CapWeather diff --git a/weboob/tools/application/base.py b/weboob/tools/application/base.py index 8fe2310e06f51c8ed672cb85d0445d493d24340f..6e4aa37ac72b8c74c8e4fc341dc42afab4ac746c 100644 --- a/weboob/tools/application/base.py +++ b/weboob/tools/application/base.py @@ -23,6 +23,7 @@ import logging import optparse from optparse import OptionGroup, OptionParser +from datetime import datetime import locale import os import sys @@ -260,7 +261,8 @@ def _get_optparse_version(self): version = None if self.VERSION: if self.COPYRIGHT: - version = '%s v%s %s' % (self.APPNAME, self.VERSION, self.COPYRIGHT) + copyright = self.COPYRIGHT.replace('YEAR', '%d' % datetime.today().year) + version = '%s v%s %s' % (self.APPNAME, self.VERSION, copyright) else: version = '%s v%s' % (self.APPNAME, self.VERSION) return version diff --git a/weboob/tools/application/repl.py b/weboob/tools/application/repl.py index 8acdebcfbdfb87c30d1335065eb8e3d2e8129892..d7e86b4ef04d1ccd8680a3caf16e1f73c7ce04b6 100644 --- a/weboob/tools/application/repl.py +++ b/weboob/tools/application/repl.py @@ -24,6 +24,7 @@ import logging import re from optparse import OptionGroup, OptionParser, IndentedHelpFormatter +from datetime import datetime import os from weboob.capabilities.base import FieldNotFound, BaseObject, UserError @@ -113,9 +114,10 @@ def __init__(self): Cmd.__init__(self) ConsoleApplication.__init__(self, ReplOptionParser(self.SYNOPSIS, version=self._get_optparse_version())) + copyright = self.COPYRIGHT.replace('YEAR', '%d' % datetime.today().year).encode(self.encoding) self.intro = '\n'.join(('Welcome to %s%s%s v%s' % (self.BOLD, self.APPNAME, self.NC, self.VERSION), '', - self.COPYRIGHT.encode(self.encoding), + copyright, 'This program is free software: you can redistribute it and/or modify', 'it under the terms of the GNU Affero General Public License as published by', 'the Free Software Foundation, either version 3 of the License, or',