Updated license notices to use the correct MIT format. Also corrected references to nonexistant license.txt to LICENSE.
This commit is contained in:
		| @@ -5,7 +5,7 @@ | ||||
|     Copyright (C) 2010  Nathanael C. Fritz | ||||
|     This file is part of SleekXMPP. | ||||
|  | ||||
|     See the file license.txt for copying permission. | ||||
|     See the file LICENSE for copying permission. | ||||
| """ | ||||
| from __future__ import absolute_import, unicode_literals | ||||
| from . basexmpp import basexmpp | ||||
|   | ||||
| @@ -3,7 +3,7 @@ | ||||
|     Copyright (C) 2010  Nathanael C. Fritz | ||||
|     This file is part of SleekXMPP. | ||||
|  | ||||
|     See the file license.txt for copying permission. | ||||
|     See the file LICENSE for copying permission. | ||||
| """ | ||||
| from __future__ import with_statement, unicode_literals | ||||
|  | ||||
|   | ||||
| @@ -5,7 +5,7 @@ | ||||
|     Copyright (C) 2010  Nathanael C. Fritz | ||||
|     This file is part of SleekXMPP. | ||||
|  | ||||
|     See the file license.txt for copying permission. | ||||
|     See the file LICENSE for copying permission. | ||||
| """ | ||||
| from __future__ import absolute_import | ||||
| from . basexmpp import basexmpp | ||||
|   | ||||
| @@ -3,7 +3,7 @@ | ||||
|     Copyright (C) 2010  Nathanael C. Fritz | ||||
|     This file is part of SleekXMPP. | ||||
|  | ||||
| See the file license.txt for copying permission. | ||||
| See the file LICENSE for copying permission. | ||||
| """ | ||||
|  | ||||
| class XMPPError(Exception): | ||||
|   | ||||
| @@ -1,20 +1,8 @@ | ||||
| """ | ||||
|     SleekXMPP: The Sleek XMPP Library | ||||
|     Copyright (C) 2007  Nathanael C. Fritz | ||||
|     Copyright (C) 2010 Nathanael C. Fritz | ||||
|     This file is part of SleekXMPP. | ||||
|  | ||||
|     SleekXMPP is free software; you can redistribute it and/or modify | ||||
|     it under the terms of the GNU General Public License as published by | ||||
|     the Free Software Foundation; either version 2 of the License, or | ||||
|     (at your option) any later version. | ||||
|  | ||||
|     SleekXMPP 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 General Public License for more details. | ||||
|  | ||||
|     You should have received a copy of the GNU General Public License | ||||
|     along with SleekXMPP; if not, write to the Free Software | ||||
|     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA | ||||
|      | ||||
|     See the file LICENSE for copying permission. | ||||
| """ | ||||
| __all__ = ['xep_0004', 'xep_0030', 'xep_0033', 'xep_0045', 'xep_0050', 'xep_0078', 'xep_0085', 'xep_0092', 'xep_0199', 'gmail_notify', 'xep_0060'] | ||||
|   | ||||
| @@ -1,22 +1,12 @@ | ||||
| """ | ||||
| 	SleekXMPP: The Sleek XMPP Library | ||||
| 	Copyright (C) 2007  Nathanael C. Fritz | ||||
| 	This file is part of SleekXMPP. | ||||
|  | ||||
| 	SleekXMPP is free software; you can redistribute it and/or modify | ||||
| 	it under the terms of the GNU General Public License as published by | ||||
| 	the Free Software Foundation; either version 2 of the License, or | ||||
| 	(at your option) any later version. | ||||
|  | ||||
| 	SleekXMPP 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 General Public License for more details. | ||||
|  | ||||
| 	You should have received a copy of the GNU General Public License | ||||
| 	along with SleekXMPP; if not, write to the Free Software | ||||
| 	Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA | ||||
|     SleekXMPP: The Sleek XMPP Library | ||||
|     Copyright (C) 2010 Nathanael C. Fritz | ||||
|     This file is part of SleekXMPP. | ||||
|      | ||||
|     See the file LICENSE for copying permission. | ||||
| """ | ||||
|  | ||||
|  | ||||
| class base_plugin(object): | ||||
| 	 | ||||
| 	def __init__(self, xmpp, config): | ||||
|   | ||||
| @@ -3,7 +3,7 @@ | ||||
|     Copyright (C) 2010 Nathanael C. Fritz, Lance J.T. Stout | ||||
|     This file is part of SleekXMPP. | ||||
|  | ||||
|     See the file license.txt for copying permission. | ||||
|     See the file LICENSE for copying permission. | ||||
| """ | ||||
|  | ||||
| import logging | ||||
|   | ||||
| @@ -1,21 +1,9 @@ | ||||
| """ | ||||
| 	SleekXMPP: The Sleek XMPP Library | ||||
| 	Copyright (C) 2007  Nathanael C. Fritz | ||||
| 	This file is part of SleekXMPP. | ||||
|  | ||||
| 	SleekXMPP is free software; you can redistribute it and/or modify | ||||
| 	it under the terms of the GNU General Public License as published by | ||||
| 	the Free Software Foundation; either version 2 of the License, or | ||||
| 	(at your option) any later version. | ||||
|  | ||||
| 	SleekXMPP 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 General Public License for more details. | ||||
|  | ||||
| 	You should have received a copy of the GNU General Public License | ||||
| 	along with SleekXMPP; if not, write to the Free Software | ||||
| 	Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA | ||||
|     SleekXMPP: The Sleek XMPP Library | ||||
|     Copyright (C) 2010 Nathanael C. Fritz | ||||
|     This file is part of SleekXMPP. | ||||
|      | ||||
|     See the file LICENSE for copying permission. | ||||
| """ | ||||
| from . import base | ||||
| import logging | ||||
|   | ||||
| @@ -3,7 +3,7 @@ | ||||
| 	Copyright (C) 2010 Nathanael C. Fritz, Lance J.T. Stout | ||||
| 	This file is part of SleekXMPP. | ||||
|  | ||||
| 	See the file license.txt for copying permission. | ||||
| 	See the file LICENSE for copying permission. | ||||
| """ | ||||
|  | ||||
| import logging | ||||
|   | ||||
| @@ -3,7 +3,7 @@ | ||||
|     Copyright (C) 2010 Nathanael C. Fritz, Lance J.T. Stout | ||||
|     This file is part of SleekXMPP. | ||||
|  | ||||
|     See the file license.txt for copying permission. | ||||
|     See the file LICENSE for copying permission. | ||||
| """ | ||||
|  | ||||
| import logging | ||||
|   | ||||
| @@ -3,7 +3,7 @@ | ||||
|     Copyright (C) 2010 Nathanael C. Fritz, Lance J.T. Stout | ||||
|     This file is part of SleekXMPP. | ||||
|  | ||||
|     See the file license.txt for copying permission. | ||||
|     See the file LICENSE for copying permission. | ||||
| """ | ||||
|  | ||||
| import logging | ||||
|   | ||||
| @@ -1,21 +1,9 @@ | ||||
| """ | ||||
| 	SleekXMPP: The Sleek XMPP Library | ||||
| 	Copyright (C) 2007  Nathanael C. Fritz | ||||
| 	This file is part of SleekXMPP. | ||||
|  | ||||
| 	SleekXMPP is free software; you can redistribute it and/or modify | ||||
| 	it under the terms of the GNU General Public License as published by | ||||
| 	the Free Software Foundation; either version 2 of the License, or | ||||
| 	(at your option) any later version. | ||||
|  | ||||
| 	SleekXMPP 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 General Public License for more details. | ||||
|  | ||||
| 	You should have received a copy of the GNU General Public License | ||||
| 	along with SleekXMPP; if not, write to the Free Software | ||||
| 	Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA | ||||
|     SleekXMPP: The Sleek XMPP Library | ||||
|     Copyright (C) 2010 Nathanael C. Fritz | ||||
|     This file is part of SleekXMPP. | ||||
|      | ||||
|     See the file LICENSE for copying permission. | ||||
| """ | ||||
| from __future__ import with_statement | ||||
| from . import base | ||||
|   | ||||
| @@ -1,21 +1,9 @@ | ||||
| """ | ||||
| 	SleekXMPP: The Sleek XMPP Library | ||||
| 	Copyright (C) 2007  Nathanael C. Fritz | ||||
| 	This file is part of SleekXMPP. | ||||
|  | ||||
| 	SleekXMPP is free software; you can redistribute it and/or modify | ||||
| 	it under the terms of the GNU General Public License as published by | ||||
| 	the Free Software Foundation; either version 2 of the License, or | ||||
| 	(at your option) any later version. | ||||
|  | ||||
| 	SleekXMPP 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 General Public License for more details. | ||||
|  | ||||
| 	You should have received a copy of the GNU General Public License | ||||
| 	along with SleekXMPP; if not, write to the Free Software | ||||
| 	Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA | ||||
|     SleekXMPP: The Sleek XMPP Library | ||||
|     Copyright (C) 2010 Nathanael C. Fritz | ||||
|     This file is part of SleekXMPP. | ||||
|      | ||||
|     See the file LICENSE for copying permission. | ||||
| """ | ||||
| from __future__ import with_statement | ||||
| from . import base | ||||
|   | ||||
| @@ -1,21 +1,9 @@ | ||||
| """ | ||||
| 	SleekXMPP: The Sleek XMPP Library | ||||
| 	Copyright (C) 2007  Nathanael C. Fritz | ||||
| 	This file is part of SleekXMPP. | ||||
|  | ||||
| 	SleekXMPP is free software; you can redistribute it and/or modify | ||||
| 	it under the terms of the GNU General Public License as published by | ||||
| 	the Free Software Foundation; either version 2 of the License, or | ||||
| 	(at your option) any later version. | ||||
|  | ||||
| 	SleekXMPP 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 General Public License for more details. | ||||
|  | ||||
| 	You should have received a copy of the GNU General Public License | ||||
| 	along with SleekXMPP; if not, write to the Free Software | ||||
| 	Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA | ||||
|     SleekXMPP: The Sleek XMPP Library | ||||
|     Copyright (C) 2010 Nathanael C. Fritz | ||||
|     This file is part of SleekXMPP. | ||||
|      | ||||
|     See the file LICENSE for copying permission. | ||||
| """ | ||||
| from __future__ import with_statement | ||||
| from xml.etree import cElementTree as ET | ||||
|   | ||||
| @@ -3,7 +3,7 @@ | ||||
|     Copyright (C) 2010 Nathanael C. Fritz, Lance J.T. Stout | ||||
|     This file is part of SleekXMPP. | ||||
|  | ||||
|     See the file license.txt for copying permissio | ||||
|     See the file LICENSE for copying permissio | ||||
| """ | ||||
|  | ||||
| import logging | ||||
|   | ||||
| @@ -1,21 +1,9 @@ | ||||
| """ | ||||
| 	SleekXMPP: The Sleek XMPP Library | ||||
| 	Copyright (C) 2007  Nathanael C. Fritz | ||||
| 	This file is part of SleekXMPP. | ||||
|  | ||||
| 	SleekXMPP is free software; you can redistribute it and/or modify | ||||
| 	it under the terms of the GNU General Public License as published by | ||||
| 	the Free Software Foundation; either version 2 of the License, or | ||||
| 	(at your option) any later version. | ||||
|  | ||||
| 	SleekXMPP 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 General Public License for more details. | ||||
|  | ||||
| 	You should have received a copy of the GNU General Public License | ||||
| 	along with SleekXMPP; if not, write to the Free Software | ||||
| 	Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA | ||||
|     SleekXMPP: The Sleek XMPP Library | ||||
|     Copyright (C) 2010 Nathanael C. Fritz | ||||
|     This file is part of SleekXMPP. | ||||
|      | ||||
|     See the file LICENSE for copying permission. | ||||
| """ | ||||
| from xml.etree import cElementTree as ET | ||||
| from . import base | ||||
|   | ||||
| @@ -3,7 +3,7 @@ | ||||
|     Copyright (C) 2010 Nathanael C. Fritz, Lance J.T. Stout | ||||
|     This file is part of SleekXMPP. | ||||
|  | ||||
|     See the file license.txt for copying permission. | ||||
|     See the file LICENSE for copying permission. | ||||
| """ | ||||
|  | ||||
| import logging | ||||
|   | ||||
| @@ -1,22 +1,9 @@ | ||||
| """ | ||||
| 	SleekXMPP: The Sleek XMPP Library | ||||
| 	XEP-0199 (Ping) support | ||||
| 	Copyright (C) 2007  Kevin Smith | ||||
| 	This file is part of SleekXMPP. | ||||
|  | ||||
| 	SleekXMPP is free software; you can redistribute it and/or modify | ||||
| 	it under the terms of the GNU General Public License as published by | ||||
| 	the Free Software Foundation; either version 2 of the License, or | ||||
| 	(at your option) any later version. | ||||
|  | ||||
| 	SleekXMPP 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 General Public License for more details. | ||||
|  | ||||
| 	You should have received a copy of the GNU General Public License | ||||
| 	along with SleekXMPP; if not, write to the Free Software | ||||
| 	Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA | ||||
|     SleekXMPP: The Sleek XMPP Library | ||||
|     Copyright (C) 2010 Nathanael C. Fritz | ||||
|     This file is part of SleekXMPP. | ||||
|      | ||||
|     See the file LICENSE for copying permission. | ||||
| """ | ||||
| from xml.etree import cElementTree as ET | ||||
| from . import base | ||||
|   | ||||
| @@ -3,6 +3,6 @@ | ||||
|     Copyright (C) 2010  Nathanael C. Fritz | ||||
|     This file is part of SleekXMPP. | ||||
|  | ||||
|     See the file license.txt for copying permission. | ||||
|     See the file LICENSE for copying permission. | ||||
| """ | ||||
| __all__ = ['presence'] | ||||
|   | ||||
| @@ -3,7 +3,7 @@ | ||||
|     Copyright (C) 2010  Nathanael C. Fritz | ||||
|     This file is part of SleekXMPP. | ||||
|  | ||||
|     See the file license.txt for copying permission. | ||||
|     See the file LICENSE for copying permission. | ||||
| """ | ||||
| from .. xmlstream.stanzabase import registerStanzaPlugin, ElementBase, ET | ||||
|  | ||||
|   | ||||
| @@ -3,7 +3,7 @@ | ||||
|     Copyright (C) 2010  Nathanael C. Fritz | ||||
|     This file is part of SleekXMPP. | ||||
|  | ||||
|     See the file license.txt for copying permission. | ||||
|     See the file LICENSE for copying permission. | ||||
| """ | ||||
| from .. xmlstream.stanzabase import registerStanzaPlugin, ElementBase, ET | ||||
|  | ||||
|   | ||||
| @@ -3,7 +3,7 @@ | ||||
|     Copyright (C) 2010  Nathanael C. Fritz | ||||
|     This file is part of SleekXMPP. | ||||
|  | ||||
|     See the file license.txt for copying permission. | ||||
|     See the file LICENSE for copying permission. | ||||
| """ | ||||
| from .. xmlstream.stanzabase import StanzaBase | ||||
| from xml.etree import cElementTree as ET | ||||
|   | ||||
| @@ -3,7 +3,7 @@ | ||||
|     Copyright (C) 2010  Nathanael C. Fritz | ||||
|     This file is part of SleekXMPP. | ||||
|  | ||||
|     See the file license.txt for copying permission. | ||||
|     See the file LICENSE for copying permission. | ||||
| """ | ||||
| from .. xmlstream.stanzabase import StanzaBase | ||||
| from xml.etree import cElementTree as ET | ||||
|   | ||||
| @@ -3,7 +3,7 @@ | ||||
|     Copyright (C) 2010  Nathanael C. Fritz | ||||
|     This file is part of SleekXMPP. | ||||
|  | ||||
|     See the file license.txt for copying permission. | ||||
|     See the file LICENSE for copying permission. | ||||
| """ | ||||
| from .. xmlstream.stanzabase import registerStanzaPlugin, ElementBase, ET | ||||
|  | ||||
|   | ||||
| @@ -3,7 +3,7 @@ | ||||
|     Copyright (C) 2010  Nathanael C. Fritz | ||||
|     This file is part of SleekXMPP. | ||||
|  | ||||
|     See the file license.txt for copying permission. | ||||
|     See the file LICENSE for copying permission. | ||||
| """ | ||||
|  | ||||
| from . error import Error | ||||
|   | ||||
| @@ -3,7 +3,7 @@ | ||||
|     Copyright (C) 2010  Nathanael C. Fritz | ||||
|     This file is part of SleekXMPP. | ||||
|  | ||||
|     See the file license.txt for copying permission. | ||||
|     See the file LICENSE for copying permission. | ||||
| """ | ||||
| from .. xmlstream.stanzabase import StanzaBase | ||||
| from xml.etree import cElementTree as ET | ||||
|   | ||||
| @@ -3,7 +3,7 @@ | ||||
|     Copyright (C) 2010  Nathanael C. Fritz | ||||
|     This file is part of SleekXMPP. | ||||
|  | ||||
|     See the file license.txt for copying permission. | ||||
|     See the file LICENSE for copying permission. | ||||
| """ | ||||
| from .. xmlstream.stanzabase import registerStanzaPlugin, ElementBase, ET, JID | ||||
| import logging | ||||
|   | ||||
| @@ -1,19 +1,9 @@ | ||||
| """ | ||||
|     SleekXMPP: The Sleek XMPP Library | ||||
|     Copyright (C) 2010 Nathanael C. Fritz | ||||
|     This file is part of SleekXMPP. | ||||
|  | ||||
|     SleekXMPP is free software; you can redistribute it and/or modify | ||||
|     it under the terms of the GNU General Public License as published by | ||||
|     the Free Software Foundation; either version 2 of the License, or | ||||
|     (at your option) any later version. | ||||
|  | ||||
|     SleekXMPP 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 General Public License for more details. | ||||
|  | ||||
|     You should have received a copy of the GNU General Public License | ||||
|     along with SleekXMPP; if not, write to the Free Software | ||||
|     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA | ||||
|      | ||||
|     See the file LICENSE for copying permission. | ||||
| """ | ||||
|  | ||||
| import logging | ||||
|   | ||||
| @@ -3,7 +3,7 @@ | ||||
|     Copyright (C) 2010  Nathanael C. Fritz | ||||
|     This file is part of SleekXMPP. | ||||
|  | ||||
|     See the file license.txt for copying permission. | ||||
|     See the file LICENSE for copying permission. | ||||
| """ | ||||
| from socket import _fileobject | ||||
| import socket | ||||
|   | ||||
| @@ -3,7 +3,7 @@ | ||||
|     Copyright (C) 2010  Nathanael C. Fritz | ||||
|     This file is part of SleekXMPP. | ||||
|  | ||||
|     See the file license.txt for copying permission. | ||||
|     See the file LICENSE for copying permission. | ||||
| """ | ||||
|  | ||||
| class BaseHandler(object): | ||||
|   | ||||
| @@ -3,7 +3,7 @@ | ||||
|     Copyright (C) 2010  Nathanael C. Fritz | ||||
|     This file is part of SleekXMPP. | ||||
|  | ||||
|     See the file license.txt for copying permission. | ||||
|     See the file LICENSE for copying permission. | ||||
| """ | ||||
| from . import base | ||||
| import logging | ||||
|   | ||||
| @@ -3,7 +3,7 @@ | ||||
|     Copyright (C) 2010  Nathanael C. Fritz | ||||
|     This file is part of SleekXMPP. | ||||
|  | ||||
|     See the file license.txt for copying permission. | ||||
|     See the file LICENSE for copying permission. | ||||
| """ | ||||
| from . import base | ||||
| try: | ||||
|   | ||||
| @@ -3,7 +3,7 @@ | ||||
|     Copyright (C) 2010  Nathanael C. Fritz | ||||
|     This file is part of SleekXMPP. | ||||
|  | ||||
|     See the file license.txt for copying permission. | ||||
|     See the file LICENSE for copying permission. | ||||
| """ | ||||
| import threading | ||||
| from . callback import Callback | ||||
|   | ||||
| @@ -3,7 +3,7 @@ | ||||
|     Copyright (C) 2010  Nathanael C. Fritz | ||||
|     This file is part of SleekXMPP. | ||||
|  | ||||
|     See the file license.txt for copying permission. | ||||
|     See the file LICENSE for copying permission. | ||||
| """ | ||||
| from . waiter import Waiter | ||||
|  | ||||
|   | ||||
| @@ -3,7 +3,7 @@ | ||||
|     Copyright (C) 2010  Nathanael C. Fritz | ||||
|     This file is part of SleekXMPP. | ||||
|  | ||||
|     See the file license.txt for copying permission. | ||||
|     See the file LICENSE for copying permission. | ||||
| """ | ||||
| class MatcherBase(object): | ||||
|  | ||||
|   | ||||
| @@ -3,7 +3,7 @@ | ||||
|     Copyright (C) 2010  Nathanael C. Fritz | ||||
|     This file is part of SleekXMPP. | ||||
|  | ||||
|     See the file license.txt for copying permission. | ||||
|     See the file LICENSE for copying permission. | ||||
| """ | ||||
| from . import base | ||||
|  | ||||
|   | ||||
| @@ -3,7 +3,7 @@ | ||||
|     Copyright (C) 2010  Nathanael C. Fritz | ||||
|     This file is part of SleekXMPP. | ||||
|  | ||||
|     See the file license.txt for copying permission. | ||||
|     See the file LICENSE for copying permission. | ||||
| """ | ||||
| from . import base | ||||
| from xml.etree import cElementTree | ||||
|   | ||||
| @@ -3,7 +3,7 @@ | ||||
|     Copyright (C) 2010  Nathanael C. Fritz | ||||
|     This file is part of SleekXMPP. | ||||
|  | ||||
|     See the file license.txt for copying permission. | ||||
|     See the file LICENSE for copying permission. | ||||
| """ | ||||
| from . import base | ||||
| from xml.etree import cElementTree | ||||
|   | ||||
| @@ -3,7 +3,7 @@ | ||||
|     Copyright (C) 2010  Nathanael C. Fritz | ||||
|     This file is part of SleekXMPP. | ||||
|  | ||||
|     See the file license.txt for copying permission. | ||||
|     See the file LICENSE for copying permission. | ||||
| """ | ||||
| from . import base | ||||
| from xml.etree import cElementTree | ||||
|   | ||||
| @@ -3,7 +3,7 @@ | ||||
|     Copyright (C) 2010  Nathanael C. Fritz | ||||
|     This file is part of SleekXMPP. | ||||
|  | ||||
|     See the file license.txt for copying permission. | ||||
|     See the file LICENSE for copying permission. | ||||
| """ | ||||
| from . import base | ||||
| from xml.etree import cElementTree | ||||
|   | ||||
| @@ -3,7 +3,7 @@ | ||||
|     Copyright (C) 2010  Nathanael C. Fritz | ||||
|     This file is part of SleekXMPP. | ||||
|  | ||||
|     See the file license.txt for copying permission. | ||||
|     See the file LICENSE for copying permission. | ||||
| """ | ||||
| from xml.etree import cElementTree as ET | ||||
| import logging | ||||
|   | ||||
| @@ -3,7 +3,7 @@ | ||||
|     Copyright (C) 2010  Nathanael C. Fritz | ||||
|     This file is part of SleekXMPP. | ||||
|  | ||||
|     See the file license.txt for copying permission. | ||||
|     See the file LICENSE for copying permission. | ||||
| """ | ||||
| from __future__ import with_statement | ||||
| import threading | ||||
|   | ||||
| @@ -3,7 +3,7 @@ | ||||
|     Copyright (C) 2010  Nathanael C. Fritz | ||||
|     This file is part of SleekXMPP. | ||||
|  | ||||
|     See the file license.txt for copying permission. | ||||
|     See the file LICENSE for copying permission. | ||||
| """ | ||||
|  | ||||
| from __future__ import with_statement, unicode_literals | ||||
|   | ||||
| @@ -3,7 +3,7 @@ | ||||
|     Copyright (C) 2010 Nathanael C. Fritz, Lance J.T. Stout | ||||
|     This file is part of SleekXMPP. | ||||
|  | ||||
|     See the file license.txt for copying permission. | ||||
|     See the file LICENSE for copying permission. | ||||
| """ | ||||
|  | ||||
| import unittest | ||||
| @@ -127,6 +127,11 @@ class SleekTest(unittest.TestCase): | ||||
|             msg['type'] = msg['type'] | ||||
|             if xml.attrib.get('type', None) is None: | ||||
|                 xml.attrib['type'] = 'normal' | ||||
|             msg2['type'] = msg2['type'] | ||||
|             debug += ">>>>Given Stanza:\n%s\n" % ET.tostring(msg.xml) | ||||
|             debug += "XML String:\n%s\n" % ET.tostring(xml) | ||||
|             debug += ">>>>Constructed Stanza:\n%s\n" % ET.tostring(msg2.xml) | ||||
|  | ||||
|  | ||||
|             values = msg2.getStanzaValues() | ||||
|             msg3 = self.Message() | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Lance Stout
					Lance Stout