From 1c9872effe60bc5510c3791782382b93f32909a3 Mon Sep 17 00:00:00 2001 From: Igor Raits Date: Dec 12 2020 15:10:39 +0000 Subject: Update unbundling patch Signed-off-by: Igor Raits --- diff --git a/0001-Unbundle-decorator.patch b/0001-Unbundle-decorator.patch index 133090d..fb2fc3d 100644 --- a/0001-Unbundle-decorator.patch +++ b/0001-Unbundle-decorator.patch @@ -1,4 +1,4 @@ -From 0d85a26e22cd1629f4cd08c9151f06d1bc46d116 Mon Sep 17 00:00:00 2001 +From 49af450b7abfbbb4bf29f17d34339029b2a424ca Mon Sep 17 00:00:00 2001 From: Igor Raits Date: Sat, 12 Dec 2020 14:43:19 +0100 Subject: [PATCH] Unbundle decorator @@ -482,7 +482,7 @@ index 0c80a56..7a434b2 100644 'twisted': ['twisted'], }, diff --git a/tests/test_core.py b/tests/test_core.py -index 5a81f12..abd3688 100644 +index 5a81f12..d81f0a8 100644 --- a/tests/test_core.py +++ b/tests/test_core.py @@ -11,7 +11,7 @@ from prometheus_client.core import ( @@ -490,7 +490,7 @@ index 5a81f12..abd3688 100644 StateSetMetricFamily, Summary, SummaryMetricFamily, UntypedMetricFamily, ) -from prometheus_client.decorator import getargspec -+from decorator import getargspec ++from inspect import getargspec try: import unittest2 as unittest