# HG changeset patch # User Goffi # Date 1362699382 -3600 # Node ID 84a6e83157c202fd3e133f7f6c7ef7fd589fda34 # Parent ea9aa51234eb9d3332dd39a00328710eafe1198f fixed licences in docstrings (they are now in comments) diff -r ea9aa51234eb -r 84a6e83157c2 frontends/sortilege_old/boxsizer.py --- a/frontends/sortilege_old/boxsizer.py Sun Feb 24 15:29:31 2013 +0100 +++ b/frontends/sortilege_old/boxsizer.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -sortilege: a SAT frontend -Copyright (C) 2009, 2010, 2011 Jérôme Poisson (goffi@goffi.org) +# sortilege: a SAT frontend +# Copyright (C) 2009, 2010, 2011 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . from window import Window diff -r ea9aa51234eb -r 84a6e83157c2 frontends/sortilege_old/chat.py --- a/frontends/sortilege_old/chat.py Sun Feb 24 15:29:31 2013 +0100 +++ b/frontends/sortilege_old/chat.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -sortilege: a SAT frontend -Copyright (C) 2009, 2010, 2011 Jérôme Poisson (goffi@goffi.org) +# sortilege: a SAT frontend +# Copyright (C) 2009, 2010, 2011 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . diff -r ea9aa51234eb -r 84a6e83157c2 frontends/sortilege_old/editbox.py --- a/frontends/sortilege_old/editbox.py Sun Feb 24 15:29:31 2013 +0100 +++ b/frontends/sortilege_old/editbox.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -sortilege: a SAT frontend -Copyright (C) 2009, 2010, 2011 Jérôme Poisson (goffi@goffi.org) +# sortilege: a SAT frontend +# Copyright (C) 2009, 2010, 2011 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . import curses diff -r ea9aa51234eb -r 84a6e83157c2 frontends/sortilege_old/statusbar.py --- a/frontends/sortilege_old/statusbar.py Sun Feb 24 15:29:31 2013 +0100 +++ b/frontends/sortilege_old/statusbar.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -sortilege: a SAT frontend -Copyright (C) 2009, 2010, 2011 Jérôme Poisson (goffi@goffi.org) +# sortilege: a SAT frontend +# Copyright (C) 2009, 2010, 2011 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . import curses diff -r ea9aa51234eb -r 84a6e83157c2 frontends/sortilege_old/window.py --- a/frontends/sortilege_old/window.py Sun Feb 24 15:29:31 2013 +0100 +++ b/frontends/sortilege_old/window.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -sortilege: a SAT frontend -Copyright (C) 2009, 2010, 2011 Jérôme Poisson (goffi@goffi.org) +# sortilege: a SAT frontend +# Copyright (C) 2009, 2010, 2011 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . import curses diff -r ea9aa51234eb -r 84a6e83157c2 frontends/src/bridge/DBus.py --- a/frontends/src/bridge/DBus.py Sun Feb 24 15:29:31 2013 +0100 +++ b/frontends/src/bridge/DBus.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python #-*- coding: utf-8 -*- -""" -SAT communication bridge -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# SAT communication bridge +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . from bridge_frontend import BridgeFrontend import dbus diff -r ea9aa51234eb -r 84a6e83157c2 frontends/src/bridge/bridge_frontend.py --- a/frontends/src/bridge/bridge_frontend.py Sun Feb 24 15:29:31 2013 +0100 +++ b/frontends/src/bridge/bridge_frontend.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python #-*- coding: utf-8 -*- -""" -SAT communication bridge -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# SAT communication bridge +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . class BridgeFrontend(object): def __init__(self): diff -r ea9aa51234eb -r 84a6e83157c2 frontends/src/jp/jp --- a/frontends/src/jp/jp Sun Feb 24 15:29:31 2013 +0100 +++ b/frontends/src/jp/jp Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #! /usr/bin/python # -*- coding: utf-8 -*- -""" -jp: a SAT command line tool -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# jp: a SAT command line tool +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . from __future__ import with_statement diff -r ea9aa51234eb -r 84a6e83157c2 frontends/src/primitivus/card_game.py --- a/frontends/src/primitivus/card_game.py Sun Feb 24 15:29:31 2013 +0100 +++ b/frontends/src/primitivus/card_game.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -Primitivus: a SAT frontend -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# Primitivus: a SAT frontend +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . import urwid from urwid_satext import sat_widgets diff -r ea9aa51234eb -r 84a6e83157c2 frontends/src/primitivus/chat.py --- a/frontends/src/primitivus/chat.py Sun Feb 24 15:29:31 2013 +0100 +++ b/frontends/src/primitivus/chat.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -Primitivus: a SAT frontend -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# Primitivus: a SAT frontend +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . import urwid from urwid_satext import sat_widgets diff -r ea9aa51234eb -r 84a6e83157c2 frontends/src/primitivus/constants.py --- a/frontends/src/primitivus/constants.py Sun Feb 24 15:29:31 2013 +0100 +++ b/frontends/src/primitivus/constants.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -Primitivus: a SAT frontend -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# Primitivus: a SAT frontend +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . import __builtin__ __builtin__.__dict__['const_APP_NAME'] = "Primitivus" diff -r ea9aa51234eb -r 84a6e83157c2 frontends/src/primitivus/contact_list.py --- a/frontends/src/primitivus/contact_list.py Sun Feb 24 15:29:31 2013 +0100 +++ b/frontends/src/primitivus/contact_list.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -Primitivus: a SAT frontend -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# Primitivus: a SAT frontend +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . import urwid from urwid_satext import sat_widgets diff -r ea9aa51234eb -r 84a6e83157c2 frontends/src/primitivus/gateways.py --- a/frontends/src/primitivus/gateways.py Sun Feb 24 15:29:31 2013 +0100 +++ b/frontends/src/primitivus/gateways.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -Primitivus: a SAT frontend -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# Primitivus: a SAT frontend +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . import urwid from urwid_satext import sat_widgets diff -r ea9aa51234eb -r 84a6e83157c2 frontends/src/primitivus/notify.py --- a/frontends/src/primitivus/notify.py Sun Feb 24 15:29:31 2013 +0100 +++ b/frontends/src/primitivus/notify.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -Primitivus: a SAT frontend -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# Primitivus: a SAT frontend +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . import dbus diff -r ea9aa51234eb -r 84a6e83157c2 frontends/src/primitivus/primitivus --- a/frontends/src/primitivus/primitivus Sun Feb 24 15:29:31 2013 +0100 +++ b/frontends/src/primitivus/primitivus Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -Primitivus: a SAT frontend -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# Primitivus: a SAT frontend +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . import urwid diff -r ea9aa51234eb -r 84a6e83157c2 frontends/src/primitivus/profile_manager.py --- a/frontends/src/primitivus/profile_manager.py Sun Feb 24 15:29:31 2013 +0100 +++ b/frontends/src/primitivus/profile_manager.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -Primitivus: a SAT frontend -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# Primitivus: a SAT frontend +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . import urwid from urwid_satext.sat_widgets import AdvancedEdit,Password,List,InputDialog,ConfirmDialog,Alert,FocusFrame diff -r ea9aa51234eb -r 84a6e83157c2 frontends/src/primitivus/progress.py --- a/frontends/src/primitivus/progress.py Sun Feb 24 15:29:31 2013 +0100 +++ b/frontends/src/primitivus/progress.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -Primitivus: a SAT frontend -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# Primitivus: a SAT frontend +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . import urwid from urwid_satext import sat_widgets diff -r ea9aa51234eb -r 84a6e83157c2 frontends/src/primitivus/xmlui.py --- a/frontends/src/primitivus/xmlui.py Sun Feb 24 15:29:31 2013 +0100 +++ b/frontends/src/primitivus/xmlui.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -Primitivus: a SAT frontend -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# Primitivus: a SAT frontend +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . import urwid from urwid_satext import sat_widgets diff -r ea9aa51234eb -r 84a6e83157c2 frontends/src/quick_frontend/constants.py --- a/frontends/src/quick_frontend/constants.py Sun Feb 24 15:29:31 2013 +0100 +++ b/frontends/src/quick_frontend/constants.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -Primitivus: a SAT frontend -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# Primitivus: a SAT frontend +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . import __builtin__ __builtin__.__dict__['const_PRIVATE_PREFIX'] = "@PRIVATE@" diff -r ea9aa51234eb -r 84a6e83157c2 frontends/src/quick_frontend/quick_app.py --- a/frontends/src/quick_frontend/quick_app.py Sun Feb 24 15:29:31 2013 +0100 +++ b/frontends/src/quick_frontend/quick_app.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -helper class for making a SAT frontend -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# helper class for making a SAT frontend +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . from logging import debug, info, warning, error from sat.tools.jid import JID diff -r ea9aa51234eb -r 84a6e83157c2 frontends/src/quick_frontend/quick_card_game.py --- a/frontends/src/quick_frontend/quick_card_game.py Sun Feb 24 15:29:31 2013 +0100 +++ b/frontends/src/quick_frontend/quick_card_game.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -helper class for making a SAT frontend -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# helper class for making a SAT frontend +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . from logging import debug, info, error from sat.tools.jid import JID diff -r ea9aa51234eb -r 84a6e83157c2 frontends/src/quick_frontend/quick_chat.py --- a/frontends/src/quick_frontend/quick_chat.py Sun Feb 24 15:29:31 2013 +0100 +++ b/frontends/src/quick_frontend/quick_chat.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -helper class for making a SAT frontend -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# helper class for making a SAT frontend +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . from logging import debug, info, warning, error from sat.tools.jid import JID diff -r ea9aa51234eb -r 84a6e83157c2 frontends/src/quick_frontend/quick_chat_list.py --- a/frontends/src/quick_frontend/quick_chat_list.py Sun Feb 24 15:29:31 2013 +0100 +++ b/frontends/src/quick_frontend/quick_chat_list.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -helper class for making a SAT frontend -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# helper class for making a SAT frontend +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . from sat.tools.jid import JID diff -r ea9aa51234eb -r 84a6e83157c2 frontends/src/quick_frontend/quick_contact_list.py --- a/frontends/src/quick_frontend/quick_contact_list.py Sun Feb 24 15:29:31 2013 +0100 +++ b/frontends/src/quick_frontend/quick_contact_list.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -helper class for making a SAT frontend -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# helper class for making a SAT frontend +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . from logging import debug diff -r ea9aa51234eb -r 84a6e83157c2 frontends/src/quick_frontend/quick_contact_management.py --- a/frontends/src/quick_frontend/quick_contact_management.py Sun Feb 24 15:29:31 2013 +0100 +++ b/frontends/src/quick_frontend/quick_contact_management.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -helper class for making a SAT frontend -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# helper class for making a SAT frontend +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . from logging import debug, info, warning, error from sat.tools.jid import JID diff -r ea9aa51234eb -r 84a6e83157c2 frontends/src/quick_frontend/quick_gateways.py --- a/frontends/src/quick_frontend/quick_gateways.py Sun Feb 24 15:29:31 2013 +0100 +++ b/frontends/src/quick_frontend/quick_gateways.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -helper class for making a SAT frontend -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# helper class for making a SAT frontend +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . diff -r ea9aa51234eb -r 84a6e83157c2 frontends/src/quick_frontend/quick_utils.py --- a/frontends/src/quick_frontend/quick_utils.py Sun Feb 24 15:29:31 2013 +0100 +++ b/frontends/src/quick_frontend/quick_utils.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -Primitivus: a SAT frontend -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# Primitivus: a SAT frontend +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . from sat.tools.jid import JID from os.path import exists, splitext diff -r ea9aa51234eb -r 84a6e83157c2 frontends/src/wix/card_game.py --- a/frontends/src/wix/card_game.py Sun Feb 24 15:29:31 2013 +0100 +++ b/frontends/src/wix/card_game.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -wix: a SAT frontend -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# wix: a SAT frontend +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . diff -r ea9aa51234eb -r 84a6e83157c2 frontends/src/wix/chat.py --- a/frontends/src/wix/chat.py Sun Feb 24 15:29:31 2013 +0100 +++ b/frontends/src/wix/chat.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -wix: a SAT frontend -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# wix: a SAT frontend +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . diff -r ea9aa51234eb -r 84a6e83157c2 frontends/src/wix/contact_list.py --- a/frontends/src/wix/contact_list.py Sun Feb 24 15:29:31 2013 +0100 +++ b/frontends/src/wix/contact_list.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -wix: a SAT frontend -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# wix: a SAT frontend +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . import wx from sat_frontends.quick_frontend.quick_contact_list import QuickContactList diff -r ea9aa51234eb -r 84a6e83157c2 frontends/src/wix/gateways.py --- a/frontends/src/wix/gateways.py Sun Feb 24 15:29:31 2013 +0100 +++ b/frontends/src/wix/gateways.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -wix: a SAT frontend -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# wix: a SAT frontend +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . diff -r ea9aa51234eb -r 84a6e83157c2 frontends/src/wix/main_window.py --- a/frontends/src/wix/main_window.py Sun Feb 24 15:29:31 2013 +0100 +++ b/frontends/src/wix/main_window.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -wix: a SAT frontend -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# wix: a SAT frontend +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . from sat_frontends.quick_frontend.quick_chat_list import QuickChatList diff -r ea9aa51234eb -r 84a6e83157c2 frontends/src/wix/param.py --- a/frontends/src/wix/param.py Sun Feb 24 15:29:31 2013 +0100 +++ b/frontends/src/wix/param.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -wix: a SAT frontend -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# wix: a SAT frontend +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . diff -r ea9aa51234eb -r 84a6e83157c2 frontends/src/wix/profile.py --- a/frontends/src/wix/profile.py Sun Feb 24 15:29:31 2013 +0100 +++ b/frontends/src/wix/profile.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -wix: a SAT frontend -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# wix: a SAT frontend +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . import wx import pdb diff -r ea9aa51234eb -r 84a6e83157c2 frontends/src/wix/profile_manager.py --- a/frontends/src/wix/profile_manager.py Sun Feb 24 15:29:31 2013 +0100 +++ b/frontends/src/wix/profile_manager.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -wix: a SAT frontend -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# wix: a SAT frontend +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . diff -r ea9aa51234eb -r 84a6e83157c2 frontends/src/wix/quiz_game.py --- a/frontends/src/wix/quiz_game.py Sun Feb 24 15:29:31 2013 +0100 +++ b/frontends/src/wix/quiz_game.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -wix: a SAT frontend -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# wix: a SAT frontend +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . diff -r ea9aa51234eb -r 84a6e83157c2 frontends/src/wix/wix --- a/frontends/src/wix/wix Sun Feb 24 15:29:31 2013 +0100 +++ b/frontends/src/wix/wix Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -wix: a SAT frontend -Copyright (C) 2009, 2010, 2011, 2012, 2013Jérôme Poisson (goffi@goffi.org) +# wix: a SAT frontend +# Copyright (C) 2009, 2010, 2011, 2012, 2013Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . import wx diff -r ea9aa51234eb -r 84a6e83157c2 frontends/src/wix/xmlui.py --- a/frontends/src/wix/xmlui.py Sun Feb 24 15:29:31 2013 +0100 +++ b/frontends/src/wix/xmlui.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -wix: a SAT frontend -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# wix: a SAT frontend +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . diff -r ea9aa51234eb -r 84a6e83157c2 setup.py --- a/setup.py Sun Feb 24 15:29:31 2013 +0100 +++ b/setup.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -""" -SAT: a jabber client -Copyright (C) 2009, 2010, 2011 Jérôme Poisson (goffi@goffi.org) +# SAT: a jabber client +# Copyright (C) 2009, 2010, 2011 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . from distribute_setup import use_setuptools use_setuptools() diff -r ea9aa51234eb -r 84a6e83157c2 src/bridge/DBus.py --- a/src/bridge/DBus.py Sun Feb 24 15:29:31 2013 +0100 +++ b/src/bridge/DBus.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python #-*- coding: utf-8 -*- -""" -SAT: a jabber client -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# SAT: a jabber client +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . from bridge import Bridge import dbus diff -r ea9aa51234eb -r 84a6e83157c2 src/bridge/bridge.py --- a/src/bridge/bridge.py Sun Feb 24 15:29:31 2013 +0100 +++ b/src/bridge/bridge.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python #-*- coding: utf-8 -*- -""" -SAT: a jabber client -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# SAT: a jabber client +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . from logging import debug, info, error diff -r ea9aa51234eb -r 84a6e83157c2 src/bridge/bridge_constructor/bridge_contructor.py --- a/src/bridge/bridge_constructor/bridge_contructor.py Sun Feb 24 15:29:31 2013 +0100 +++ b/src/bridge/bridge_constructor/bridge_contructor.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python #-*- coding: utf-8 -*- -""" -SAT: a jabber client -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# SAT: a jabber client +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . #consts NAME = u"bridge_constructor" diff -r ea9aa51234eb -r 84a6e83157c2 src/bridge/bridge_constructor/dbus_core_template.py --- a/src/bridge/bridge_constructor/dbus_core_template.py Sun Feb 24 15:29:31 2013 +0100 +++ b/src/bridge/bridge_constructor/dbus_core_template.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python #-*- coding: utf-8 -*- -""" -SAT: a jabber client -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# SAT: a jabber client +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . from bridge import Bridge import dbus diff -r ea9aa51234eb -r 84a6e83157c2 src/bridge/bridge_constructor/dbus_frontend_template.py --- a/src/bridge/bridge_constructor/dbus_frontend_template.py Sun Feb 24 15:29:31 2013 +0100 +++ b/src/bridge/bridge_constructor/dbus_frontend_template.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python #-*- coding: utf-8 -*- -""" -SAT communication bridge -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# SAT communication bridge +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . from bridge_frontend import BridgeFrontend import dbus diff -r ea9aa51234eb -r 84a6e83157c2 src/core/default_config.py --- a/src/core/default_config.py Sun Feb 24 15:29:31 2013 +0100 +++ b/src/core/default_config.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -SAT: a jabber client -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# SAT: a jabber client +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . CONST = { 'client_name': u'SàT (Salut à toi)', diff -r ea9aa51234eb -r 84a6e83157c2 src/core/exceptions.py --- a/src/core/exceptions.py Sun Feb 24 15:29:31 2013 +0100 +++ b/src/core/exceptions.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -SàT Exceptions -Copyright (C) 2011 Jérôme Poisson (goffi@goffi.org) +# SàT Exceptions +# Copyright (C) 2011 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . class ProfileUnknownError(Exception): diff -r ea9aa51234eb -r 84a6e83157c2 src/core/sat_main.py --- a/src/core/sat_main.py Sun Feb 24 15:29:31 2013 +0100 +++ b/src/core/sat_main.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -SAT: a jabber client -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# SAT: a jabber client +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . from twisted.application import service from twisted.internet import defer diff -r ea9aa51234eb -r 84a6e83157c2 src/core/xmpp.py --- a/src/core/xmpp.py Sun Feb 24 15:29:31 2013 +0100 +++ b/src/core/xmpp.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -SAT: a jabber client -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# SAT: a jabber client +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . from twisted.internet import task, defer from twisted.words.protocols.jabber import jid, xmlstream diff -r ea9aa51234eb -r 84a6e83157c2 src/memory/memory.py --- a/src/memory/memory.py Sun Feb 24 15:29:31 2013 +0100 +++ b/src/memory/memory.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -SAT: a jabber client -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# SAT: a jabber client +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . from __future__ import with_statement diff -r ea9aa51234eb -r 84a6e83157c2 src/memory/persistent.py --- a/src/memory/persistent.py Sun Feb 24 15:29:31 2013 +0100 +++ b/src/memory/persistent.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -SAT: a jabber client -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# SAT: a jabber client +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . from logging import debug, info, warning, error diff -r ea9aa51234eb -r 84a6e83157c2 src/memory/sqlite.py --- a/src/memory/sqlite.py Sun Feb 24 15:29:31 2013 +0100 +++ b/src/memory/sqlite.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -SAT: a jabber client -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# SAT: a jabber client +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . from logging import debug, info, warning, error from twisted.enterprise import adbapi diff -r ea9aa51234eb -r 84a6e83157c2 src/plugins/deprecated_misc_cs.py --- a/src/plugins/deprecated_misc_cs.py Sun Feb 24 15:29:31 2013 +0100 +++ b/src/plugins/deprecated_misc_cs.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -SAT plugin for managing xep-0045 -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# SAT plugin for managing xep-0045 +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . from logging import debug, info, warning, error from twisted.words.xish import domish diff -r ea9aa51234eb -r 84a6e83157c2 src/plugins/plugin_exp_command_export.py --- a/src/plugins/plugin_exp_command_export.py Sun Feb 24 15:29:31 2013 +0100 +++ b/src/plugins/plugin_exp_command_export.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -SAT plugin to export commands (experimental) -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# SAT plugin to export commands (experimental) +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . from logging import debug, info, warning, error from twisted.words.protocols.jabber import jid diff -r ea9aa51234eb -r 84a6e83157c2 src/plugins/plugin_exp_parrot.py --- a/src/plugins/plugin_exp_parrot.py Sun Feb 24 15:29:31 2013 +0100 +++ b/src/plugins/plugin_exp_parrot.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -SAT plugin for parrot mode (experimental) -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# SAT plugin for parrot mode (experimental) +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . from logging import debug, info, warning, error from twisted.words.protocols.jabber import jid diff -r ea9aa51234eb -r 84a6e83157c2 src/plugins/plugin_exp_pipe.py --- a/src/plugins/plugin_exp_pipe.py Sun Feb 24 15:29:31 2013 +0100 +++ b/src/plugins/plugin_exp_pipe.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -SAT plugin for managing pipes (experimental) -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# SAT plugin for managing pipes (experimental) +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . from logging import debug, info, warning, error from twisted.words.xish import domish diff -r ea9aa51234eb -r 84a6e83157c2 src/plugins/plugin_misc_account.py --- a/src/plugins/plugin_misc_account.py Sun Feb 24 15:29:31 2013 +0100 +++ b/src/plugins/plugin_misc_account.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -SAT plugin for parrot mode (experimental) -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# SAT plugin for parrot mode (experimental) +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . from logging import debug, info, warning, error from sat.core import exceptions diff -r ea9aa51234eb -r 84a6e83157c2 src/plugins/plugin_misc_groupblog.py --- a/src/plugins/plugin_misc_groupblog.py Sun Feb 24 15:29:31 2013 +0100 +++ b/src/plugins/plugin_misc_groupblog.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -SAT plugin for microbloging with roster access -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# SAT plugin for microbloging with roster access +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . from logging import debug, info, warning, error from twisted.internet import defer diff -r ea9aa51234eb -r 84a6e83157c2 src/plugins/plugin_misc_imap.py --- a/src/plugins/plugin_misc_imap.py Sun Feb 24 15:29:31 2013 +0100 +++ b/src/plugins/plugin_misc_imap.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -SàT plugin for managing imap server -Copyright (C) 2011 Jérôme Poisson (goffi@goffi.org) +# SàT plugin for managing imap server +# Copyright (C) 2011 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . from logging import debug, info, error import warnings diff -r ea9aa51234eb -r 84a6e83157c2 src/plugins/plugin_misc_maildir.py --- a/src/plugins/plugin_misc_maildir.py Sun Feb 24 15:29:31 2013 +0100 +++ b/src/plugins/plugin_misc_maildir.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -SàT plugin for managing Maildir type mail boxes -Copyright (C) 2011 Jérôme Poisson (goffi@goffi.org) +# SàT plugin for managing Maildir type mail boxes +# Copyright (C) 2011 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . from logging import debug, info, error import warnings diff -r ea9aa51234eb -r 84a6e83157c2 src/plugins/plugin_misc_quiz.py --- a/src/plugins/plugin_misc_quiz.py Sun Feb 24 15:29:31 2013 +0100 +++ b/src/plugins/plugin_misc_quiz.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -SAT plugin for managing Quiz game -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# SAT plugin for managing Quiz game +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . from logging import debug, info, warning, error from twisted.words.xish import domish diff -r ea9aa51234eb -r 84a6e83157c2 src/plugins/plugin_misc_radiocol.py --- a/src/plugins/plugin_misc_radiocol.py Sun Feb 24 15:29:31 2013 +0100 +++ b/src/plugins/plugin_misc_radiocol.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -SAT plugin for managing Radiocol -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# SAT plugin for managing Radiocol +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . from logging import debug, info, warning, error from twisted.words.xish import domish diff -r ea9aa51234eb -r 84a6e83157c2 src/plugins/plugin_misc_smtp.py --- a/src/plugins/plugin_misc_smtp.py Sun Feb 24 15:29:31 2013 +0100 +++ b/src/plugins/plugin_misc_smtp.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -SàT plugin for managing smtp server -Copyright (C) 2011 Jérôme Poisson (goffi@goffi.org) +# SàT plugin for managing smtp server +# Copyright (C) 2011 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . from logging import debug, info, error import warnings diff -r ea9aa51234eb -r 84a6e83157c2 src/plugins/plugin_misc_tarot.py --- a/src/plugins/plugin_misc_tarot.py Sun Feb 24 15:29:31 2013 +0100 +++ b/src/plugins/plugin_misc_tarot.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -SAT plugin for managing French Tarot game -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# SAT plugin for managing French Tarot game +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . from logging import debug, info, warning, error from twisted.words.xish import domish diff -r ea9aa51234eb -r 84a6e83157c2 src/plugins/plugin_misc_text_commands.py --- a/src/plugins/plugin_misc_text_commands.py Sun Feb 24 15:29:31 2013 +0100 +++ b/src/plugins/plugin_misc_text_commands.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -SàT plugin for managing text commands -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# SàT plugin for managing text commands +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . from twisted.words.protocols.jabber import jid from logging import debug, info, warning, error diff -r ea9aa51234eb -r 84a6e83157c2 src/plugins/plugin_misc_xmllog.py --- a/src/plugins/plugin_misc_xmllog.py Sun Feb 24 15:29:31 2013 +0100 +++ b/src/plugins/plugin_misc_xmllog.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -SàT plugin for managing raw XML log -Copyright (C) 2011 Jérôme Poisson (goffi@goffi.org) +# SàT plugin for managing raw XML log +# Copyright (C) 2011 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . from logging import debug, info, error from twisted.words.protocols.jabber.xmlstream import XmlStream diff -r ea9aa51234eb -r 84a6e83157c2 src/plugins/plugin_xep_0020.py --- a/src/plugins/plugin_xep_0020.py Sun Feb 24 15:29:31 2013 +0100 +++ b/src/plugins/plugin_xep_0020.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -SAT plugin for managing xep-0020 -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# SAT plugin for managing xep-0020 +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . from logging import debug, info, warning, error from twisted.words.protocols.jabber import client, jid diff -r ea9aa51234eb -r 84a6e83157c2 src/plugins/plugin_xep_0045.py --- a/src/plugins/plugin_xep_0045.py Sun Feb 24 15:29:31 2013 +0100 +++ b/src/plugins/plugin_xep_0045.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -SAT plugin for managing xep-0045 -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# SAT plugin for managing xep-0045 +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . from logging import debug, info, warning, error from twisted.internet import defer diff -r ea9aa51234eb -r 84a6e83157c2 src/plugins/plugin_xep_0047.py --- a/src/plugins/plugin_xep_0047.py Sun Feb 24 15:29:31 2013 +0100 +++ b/src/plugins/plugin_xep_0047.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -SAT plugin for managing gateways (xep-0047) -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# SAT plugin for managing gateways (xep-0047) +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . from logging import debug, info, warning, error from twisted.words.protocols.jabber import client as jabber_client, jid diff -r ea9aa51234eb -r 84a6e83157c2 src/plugins/plugin_xep_0054.py --- a/src/plugins/plugin_xep_0054.py Sun Feb 24 15:29:31 2013 +0100 +++ b/src/plugins/plugin_xep_0054.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -SAT plugin for managing xep-0054 -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# SAT plugin for managing xep-0054 +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . from logging import debug, info, error from twisted.internet import threads diff -r ea9aa51234eb -r 84a6e83157c2 src/plugins/plugin_xep_0060.py --- a/src/plugins/plugin_xep_0060.py Sun Feb 24 15:29:31 2013 +0100 +++ b/src/plugins/plugin_xep_0060.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -SAT plugin for Publish-Subscribe (xep-0060) -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# SAT plugin for Publish-Subscribe (xep-0060) +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . from logging import debug, info, error from twisted.internet import protocol diff -r ea9aa51234eb -r 84a6e83157c2 src/plugins/plugin_xep_0065.py --- a/src/plugins/plugin_xep_0065.py Sun Feb 24 15:29:31 2013 +0100 +++ b/src/plugins/plugin_xep_0065.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,59 +1,58 @@ #!/usr/bin/python #-*- coding: utf-8 -*- -""" -SAT plugin for managing xep-0065 + +# SAT plugin for managing xep-0065 -Copyright (C) -2002, 2003, 2004 Dave Smith (dizzyd@jabber.org) -2007, 2008 Fabio Forno (xmpp:ff@jabber.bluendo.com) -2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# Copyright (C) +# 2002, 2003, 2004 Dave Smith (dizzyd@jabber.org) +# 2007, 2008 Fabio Forno (xmpp:ff@jabber.bluendo.com) +# 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . --- +# -- -This program is based on proxy65 (http://code.google.com/p/proxy65), -originaly written by David Smith and modified by Fabio Forno. -It is sublicensed under GPL v3 (or any later version) as allowed by the original -license. +# This program is based on proxy65 (http://code.google.com/p/proxy65), +# originaly written by David Smith and modified by Fabio Forno. +# It is sublicensed under AGPL v3 (or any later version) as allowed by the original +# license. --- +# -- -Here is a copy of the original license: +# Here is a copy of the original license: -Copyright (C) -2002-2004 Dave Smith (dizzyd@jabber.org) -2007-2008 Fabio Forno (xmpp:ff@jabber.bluendo.com) +# Copyright (C) +# 2002-2004 Dave Smith (dizzyd@jabber.org) +# 2007-2008 Fabio Forno (xmpp:ff@jabber.bluendo.com) -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. -""" +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. from logging import debug, info, warning, error from twisted.internet import protocol, reactor diff -r ea9aa51234eb -r 84a6e83157c2 src/plugins/plugin_xep_0077.py --- a/src/plugins/plugin_xep_0077.py Sun Feb 24 15:29:31 2013 +0100 +++ b/src/plugins/plugin_xep_0077.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -SAT plugin for managing xep-0077 -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# SAT plugin for managing xep-0077 +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . from logging import debug, info, error from twisted.words.protocols.jabber import jid diff -r ea9aa51234eb -r 84a6e83157c2 src/plugins/plugin_xep_0095.py --- a/src/plugins/plugin_xep_0095.py Sun Feb 24 15:29:31 2013 +0100 +++ b/src/plugins/plugin_xep_0095.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -SAT plugin for managing xep-0095 -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# SAT plugin for managing xep-0095 +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . from logging import debug, info, error from twisted.words.xish import domish diff -r ea9aa51234eb -r 84a6e83157c2 src/plugins/plugin_xep_0096.py --- a/src/plugins/plugin_xep_0096.py Sun Feb 24 15:29:31 2013 +0100 +++ b/src/plugins/plugin_xep_0096.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -SAT plugin for managing xep-0096 -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# SAT plugin for managing xep-0096 +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . from logging import debug, info, warning, error from twisted.words.xish import domish diff -r ea9aa51234eb -r 84a6e83157c2 src/plugins/plugin_xep_0100.py --- a/src/plugins/plugin_xep_0100.py Sun Feb 24 15:29:31 2013 +0100 +++ b/src/plugins/plugin_xep_0100.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -SAT plugin for managing gateways (xep-0100) -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# SAT plugin for managing gateways (xep-0100) +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . from logging import debug, info, error from twisted.words.protocols.jabber import client as jabber_client, jid diff -r ea9aa51234eb -r 84a6e83157c2 src/plugins/plugin_xep_0115.py --- a/src/plugins/plugin_xep_0115.py Sun Feb 24 15:29:31 2013 +0100 +++ b/src/plugins/plugin_xep_0115.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -SAT plugin for managing xep-0115 -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# SAT plugin for managing xep-0115 +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . from logging import debug, info, error, warning from twisted.words.xish import domish diff -r ea9aa51234eb -r 84a6e83157c2 src/plugins/plugin_xep_0163.py --- a/src/plugins/plugin_xep_0163.py Sun Feb 24 15:29:31 2013 +0100 +++ b/src/plugins/plugin_xep_0163.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -SAT plugin for Personal Eventing Protocol (xep-0163) -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# SAT plugin for Personal Eventing Protocol (xep-0163) +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . from logging import debug, info, error from twisted.internet import protocol diff -r ea9aa51234eb -r 84a6e83157c2 src/plugins/plugin_xep_0249.py --- a/src/plugins/plugin_xep_0249.py Sun Feb 24 15:29:31 2013 +0100 +++ b/src/plugins/plugin_xep_0249.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -SAT plugin for managing xep-0249 -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# SAT plugin for managing xep-0249 +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . from logging import debug, info, warning, error from twisted.words.xish import domish diff -r ea9aa51234eb -r 84a6e83157c2 src/plugins/plugin_xep_0277.py --- a/src/plugins/plugin_xep_0277.py Sun Feb 24 15:29:31 2013 +0100 +++ b/src/plugins/plugin_xep_0277.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -SAT plugin for microblogging over XMPP (xep-0277) -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# SAT plugin for microblogging over XMPP (xep-0277) +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . from logging import debug, info, error from twisted.internet import protocol diff -r ea9aa51234eb -r 84a6e83157c2 src/sat.tac --- a/src/sat.tac Sun Feb 24 15:29:31 2013 +0100 +++ b/src/sat.tac Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -SAT: a jabber client -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# SAT: a jabber client +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . import gettext gettext.install('sat', "i18n", unicode=True) diff -r ea9aa51234eb -r 84a6e83157c2 src/test/helpers.py --- a/src/test/helpers.py Sun Feb 24 15:29:31 2013 +0100 +++ b/src/test/helpers.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -SAT: a jabber client -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# SAT: a jabber client +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . import __builtin__ from twisted.words.protocols.jabber.jid import JID diff -r ea9aa51234eb -r 84a6e83157c2 src/test/test_core_xmpp.py --- a/src/test/test_core_xmpp.py Sun Feb 24 15:29:31 2013 +0100 +++ b/src/test/test_core_xmpp.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -SAT: a jabber client -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# SAT: a jabber client +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . from sat.test import helpers from twisted.trial import unittest diff -r ea9aa51234eb -r 84a6e83157c2 src/tools/games.py --- a/src/tools/games.py Sun Feb 24 15:29:31 2013 +0100 +++ b/src/tools/games.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -SAT: a jabber client -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# SAT: a jabber client +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . from logging import debug, info, error """This library help manage general games (e.g. card games)""" diff -r ea9aa51234eb -r 84a6e83157c2 src/tools/jid.py --- a/src/tools/jid.py Sun Feb 24 15:29:31 2013 +0100 +++ b/src/tools/jid.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -SAT: a jabber client -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# SAT: a jabber client +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . class JID(unicode): diff -r ea9aa51234eb -r 84a6e83157c2 src/tools/misc.py --- a/src/tools/misc.py Sun Feb 24 15:29:31 2013 +0100 +++ b/src/tools/misc.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -SAT: a jabber client -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# SAT: a jabber client +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . """Misc usefull classes""" diff -r ea9aa51234eb -r 84a6e83157c2 src/tools/utils.py --- a/src/tools/utils.py Sun Feb 24 15:29:31 2013 +0100 +++ b/src/tools/utils.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -SAT: a jabber client -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# SAT: a jabber client +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . """ various useful methods """ diff -r ea9aa51234eb -r 84a6e83157c2 src/tools/xml_tools.py --- a/src/tools/xml_tools.py Sun Feb 24 15:29:31 2013 +0100 +++ b/src/tools/xml_tools.py Fri Mar 08 00:36:22 2013 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -SAT: a jabber client -Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) +# SAT: a jabber client +# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org) -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 -(at your option) any later version. +# 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 +# (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . from logging import debug, info, error from xml.dom import minidom