| 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 obj.set_message_class(ServiceMessage) | 82 obj.set_message_class(ServiceMessage) |
| 83 elif name.find('bucket') >= 0: | 83 elif name.find('bucket') >= 0: |
| 84 obj = boto.lookup('s3', val) | 84 obj = boto.lookup('s3', val) |
| 85 elif name.find('domain') >= 0: | 85 elif name.find('domain') >= 0: |
| 86 obj = boto.lookup('sdb', val) | 86 obj = boto.lookup('sdb', val) |
| 87 else: | 87 else: |
| 88 obj = None | 88 obj = None |
| 89 return obj | 89 return obj |
| 90 | 90 |
| 91 | 91 |
| OLD | NEW |