Skip to content

Commit c3124c7

Browse files
committed
Add move resource method to Dataset with test
1 parent a1ee2e5 commit c3124c7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/hdx/data/dataset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ def move_resource(
447447
elif res_name.startswith(insert_before):
448448
to_index = i
449449
if to_index is None:
450-
# insert at the start if a manual resource for year cannot be found
450+
# insert at the start if resource cannot be found
451451
to_index = 0
452452
resource = self.resources.pop(from_index)
453453
if from_index < to_index:

0 commit comments

Comments
 (0)