summary refs log tree commit diff stats
path: root/ganarchy/data.py
diff options
context:
space:
mode:
Diffstat (limited to 'ganarchy/data.py')
-rw-r--r--ganarchy/data.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/ganarchy/data.py b/ganarchy/data.py
index c803b9b..4d675cb 100644
--- a/ganarchy/data.py
+++ b/ganarchy/data.py
@@ -53,7 +53,7 @@ def _is_uri(obj, ports=range(1,65536), schemes=('https',)):
         # also raises for invalid ports, see
         # https://docs.python.org/3/library/urllib.parse.html#urllib.parse.urlparse
         # "Reading the port attribute will raise a ValueError if an
-        # invalid port is specified in the URL. [...]"
+        # invalid port is specified in the URI. [...]"
         if u.port is not None and u.port not in ports:
             return False
         if u.scheme not in schemes:
@@ -164,7 +164,7 @@ class DataProperty(Enum):
     DataSource get_property_values for more details.
     """
     INSTANCE_TITLE = (1, str)
-    INSTANCE_BASE_URL = (2, str)
+    INSTANCE_BASE_URI = (2, str)
     VCS_REPOS = (3, PCTP)
     REPO_LIST_SOURCES = (4, RepoListSource)
     INSTANCE_FEDITO = (5, int)
@@ -325,7 +325,7 @@ class ObjectDataSource(DataSource):
 
     _SUPPORTED_PROPERTIES = {
         DataProperty.INSTANCE_TITLE: _get_instance_title,
-        DataProperty.INSTANCE_BASE_URL: _get_instance_base_uri,
+        DataProperty.INSTANCE_BASE_URI: _get_instance_base_uri,
         DataProperty.INSTANCE_FEDITO: _get_instance_fedito,
         DataProperty.VCS_REPOS: _get_vcs_repos,
         DataProperty.REPO_LIST_SOURCES: _get_repo_list_sources,