| 1 |
Subject: Depreciated string exceptions in python (>=2.6) |
|---|
| 2 |
|
|---|
| 3 |
* gallery.py: corrected string exception. |
|---|
| 4 |
|
|---|
| 5 |
Author: Charlie Smotherman <cjsmo@cableone.net> |
|---|
| 6 |
|
|---|
| 7 |
Index: coherence-0.6.6.3/coherence/extern/galleryremote/gallery.py |
|---|
| 8 |
=================================================================== |
|---|
| 9 |
--- coherence-0.6.6.3.orig/coherence/extern/galleryremote/gallery.py 2010-06-07 12:10:53.440177834 -0500 |
|---|
| 10 |
+++ coherence-0.6.6.3/coherence/extern/galleryremote/gallery.py 2010-06-07 12:11:39.520707119 -0500 |
|---|
| 11 |
@@ -137,7 +137,7 @@ |
|---|
| 12 |
|
|---|
| 13 |
# make sure the 1st line is #__GR2PROTO__ |
|---|
| 14 |
if string.find( line, '#__GR2PROTO__' ) == -1: |
|---|
| 15 |
- raise "Bad response: \r\n" + response |
|---|
| 16 |
+ raise Exception("Bad response: \r\n" + response) |
|---|
| 17 |
|
|---|
| 18 |
resDict = {} |
|---|
| 19 |
|
|---|