Skip to content

Commit

Permalink
Merge pull request #4420 from mih/rf-dsrepr
Browse files Browse the repository at this point in the history
RF: <Dataset path=...> -> <Dataset ...>
  • Loading branch information
mih committed Apr 19, 2020
2 parents d182b92 + 226bee8 commit 0f4112e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion datalad/distribution/dataset.py
Expand Up @@ -48,6 +48,7 @@
Path,
PurePath,
assure_list,
quote_cmdlinearg,
)


Expand Down Expand Up @@ -148,7 +149,7 @@ def pathobj(self):
return self._pathobj

def __repr__(self):
return "<Dataset path=%s>" % self.path
return 'Dataset({})'.format(quote_cmdlinearg(self.path))

def __eq__(self, other):
if not hasattr(other, 'pathobj'):
Expand Down

0 comments on commit 0f4112e

Please sign in to comment.