Skip to content

Commit 660eb7d

Browse files
authored
Merge pull request astropy#3316 from emmanuel-ferdman/main
MAINT: Resolve warnings of Logger library
2 parents 3368e5b + 43a0c98 commit 660eb7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

astroquery/gaia/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ def load_data(self, ids, *, data_release=None, data_structure='INDIVIDUAL', retr
259259
try:
260260
os.mkdir(path)
261261
except FileExistsError:
262-
log.warn("Path %s already exist" % path)
262+
log.warning("Path %s already exist" % path)
263263
except OSError:
264264
log.error("Creation of the directory %s failed" % path)
265265

0 commit comments

Comments
 (0)