X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=pakfire%2Fpatches%2F0019-Fix-typo-in-exception-name.patch;fp=pakfire%2Fpatches%2F0019-Fix-typo-in-exception-name.patch;h=82715f727eaca979c36c8e811d3924978e643169;hb=eac44f69edabee2200a5ad5ed34483a0afc2a788;hp=0000000000000000000000000000000000000000;hpb=a26de3c4b0cbfcc09309bf12438003b68c386330;p=people%2Fms%2Fipfire-3.x.git 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 index 000000000..82715f727 --- /dev/null +++ b/pakfire/patches/0019-Fix-typo-in-exception-name.patch @@ -0,0 +1,25 @@ +From 84369401ab3b69541f6b763f050a2a1940cf351d Mon Sep 17 00:00:00 2001 +From: Michael Tremer +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 +