| OLD | NEW |
| 1 # Copyright (c) 2006,2007 Mitch Garnaat http://garnaat.org/ | 1 # Copyright (c) 2006,2007 Mitch Garnaat http://garnaat.org/ |
| 2 # | 2 # |
| 3 # Permission is hereby granted, free of charge, to any person obtaining a | 3 # Permission is hereby granted, free of charge, to any person obtaining a |
| 4 # copy of this software and associated documentation files (the | 4 # copy of this software and associated documentation files (the |
| 5 # "Software"), to deal in the Software without restriction, including | 5 # "Software"), to deal in the Software without restriction, including |
| 6 # without limitation the rights to use, copy, modify, merge, publish, dis- | 6 # without limitation the rights to use, copy, modify, merge, publish, dis- |
| 7 # tribute, sublicense, and/or sell copies of the Software, and to permit | 7 # tribute, sublicense, and/or sell copies of the Software, and to permit |
| 8 # persons to whom the Software is furnished to do so, subject to the fol- | 8 # persons to whom the Software is furnished to do so, subject to the fol- |
| 9 # lowing conditions: | 9 # lowing conditions: |
| 10 # | 10 # |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 | 26 |
| 27 def startElement(self, name, attrs, connection): | 27 def startElement(self, name, attrs, connection): |
| 28 return None | 28 return None |
| 29 | 29 |
| 30 def endElement(self, name, value, connection): | 30 def endElement(self, name, value, connection): |
| 31 if name == 'Prefix': | 31 if name == 'Prefix': |
| 32 self.name = value | 32 self.name = value |
| 33 else: | 33 else: |
| 34 setattr(self, name, value) | 34 setattr(self, name, value) |
| 35 | 35 |
| OLD | NEW |