]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blobdiff - pakfire/patches/0019-Fix-typo-in-exception-name.patch
pakfire: Sync with upstream.
[people/ms/ipfire-3.x.git] / pakfire / patches / 0019-Fix-typo-in-exception-name.patch
diff --git a/pakfire/patches/0019-Fix-typo-in-exception-name.patch b/pakfire/patches/0019-Fix-typo-in-exception-name.patch
new file mode 100644 (file)
index 0000000..82715f7
--- /dev/null
@@ -0,0 +1,25 @@
+From 84369401ab3b69541f6b763f050a2a1940cf351d Mon Sep 17 00:00:00 2001
+From: Michael Tremer <michael.tremer@ipfire.org>
+Date: Mon, 24 Jun 2013 21:34:55 +0000
+Subject: [PATCH 19/19] Fix typo in exception name.
+
+---
+ python/pakfire/transport.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/python/pakfire/transport.py b/python/pakfire/transport.py
+index 982f540..3dbf991 100644
+--- a/python/pakfire/transport.py
++++ b/python/pakfire/transport.py
+@@ -279,7 +279,7 @@ class PakfireHubTransport(object):
+                               return self.one_request(url, **kwargs)
+                       # 500 - Internal Server Error, 502 + 503 Bad Gateway Error
+-                      except (TransportInternalServerError, TransportBadGateway), e:
++                      except (TransportInternalServerError, TransportBadGatewayError), e:
+                               log.exception("%s" % e.__class__.__name__)
+                               # Wait a minute before trying again.
+-- 
+1.8.1.4
+