Blob Blame History Raw
From b31b4f32d01b7f38d417fd42be5f5d52b18be575 Mon Sep 17 00:00:00 2001
From: Ole Streicher <olebole@debian.org>
Date: Sat, 29 Jan 2022 20:14:56 +0100
Subject: [PATCH] Get wraps from functools instead of astropy

This fixes compatibility with astropy 5.0.1
---
 aplpy/decorators.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/aplpy/decorators.py b/aplpy/decorators.py
index f29056db..3c22f87b 100644
--- a/aplpy/decorators.py
+++ b/aplpy/decorators.py
@@ -2,7 +2,7 @@
 
 import threading
 
-from astropy.utils.decorators import wraps
+from functools import wraps
 
 mydata = threading.local()