File: Use-system-wide-configobject-validate.patch

package info (click to toggle)
astropy 7.0.1-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 35,328 kB
  • sloc: python: 233,437; ansic: 55,264; javascript: 17,680; lex: 8,621; sh: 3,317; xml: 2,287; makefile: 191
file content (21 lines) | stat: -rw-r--r-- 734 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Ole Streicher <olebole@debian.org>
Date: Fri, 12 Jun 2020 17:07:17 +0200
Subject: Use system wide configobject+validate

---
 astropy/config/configuration.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/astropy/config/configuration.py b/astropy/config/configuration.py
index ecafcde..cc021a9 100644
--- a/astropy/config/configuration.py
+++ b/astropy/config/configuration.py
@@ -20,7 +20,7 @@ from pathlib import Path
 from textwrap import TextWrapper
 from warnings import warn
 
-from astropy.extern.configobj import configobj, validate
+import configobj, validate
 from astropy.utils import find_current_module, silence
 from astropy.utils.exceptions import AstropyDeprecationWarning, AstropyWarning