diff --git a/datalad_next/annexremotes/uncurl.py b/datalad_next/annexremotes/uncurl.py index cd40378a..6007daa6 100644 --- a/datalad_next/annexremotes/uncurl.py +++ b/datalad_next/annexremotes/uncurl.py @@ -45,7 +45,7 @@ for a dataset (as shown above):: $ echo '[{"url":"ssh://my.server.org/home/me/file", "file":"dummy"}]' \\ - | datalad addurls - '{url}' {'file'} + | datalad addurls - '{url}' '{file}' This makes legacy commands (e.g., ``datalad download-url``), unnecessary, and facilitates the use of more advanced ``datalad addurls`` features (e.g., @@ -411,7 +411,7 @@ def remove(self, key): ) except UrlOperationsResourceUnknown: self.message( - 'f{key} not found at the remote, skipping', type='debug') + f'{key!r} not found at the remote, skipping', type='debug') # # helpers @@ -424,7 +424,7 @@ def get_key_urls(self, key) -> list[str]: # this will also work within checkurl() for a temporary key # generated by git-annex after claimurl() urls = self.annex.geturls(key, prefix='') - self.message(f"Known urls for {key!r}: {urls}", type='debug') + self.message(f'Known urls for {key!r}: {urls}', type='debug') if self.url_tmpl: # we have a rewriting template. extract all properties # from all known URLs and instantiate the template