Skip to content

Commit

Permalink
black formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
giohappy committed Sep 27, 2023
1 parent 919c8b3 commit e1ef967
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion geonode/harvesting/harvesters/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def get_geonode_resource_defaults(
if self.should_copy_resource(harvestable_resource):
defaults["sourcetype"] = enumerations.SOURCE_TYPE_COPYREMOTE
else:
defaults["subtype"] = 'remote'
defaults["subtype"] = "remote"
defaults["sourcetype"] = enumerations.SOURCE_TYPE_REMOTE
return {key: value for key, value in defaults.items() if value is not None}

Expand Down
2 changes: 1 addition & 1 deletion geonode/harvesting/harvesters/geonodeharvester.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ def get_geonode_resource_defaults(
"thumbnail_url": harvested_info.resource_descriptor.distribution.thumbnail_url,
"srid": srid,
"ptype": GXP_PTYPES["GN_WMS"],
"subtype": "remote"
"subtype": "remote",
}
)
return defaults
Expand Down

0 comments on commit e1ef967

Please sign in to comment.