Skip to content

Commit

Permalink
Remove unnecessary lstrip
Browse files Browse the repository at this point in the history
  • Loading branch information
jjnesbitt committed Apr 26, 2022
1 parent 4e34194 commit ae0be4c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dandiapi/api/tests/test_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def test_rest_info(api_client):
assert resp.json() == {
'schema_version': settings.DANDI_SCHEMA_VERSION,
'schema_url': schema_url,
'version': __version__.lstrip('v'),
'version': __version__,
'cli-minimal-version': '0.14.2',
'cli-bad-versions': [],
'services': {
Expand Down
2 changes: 1 addition & 1 deletion dandiapi/api/views/info.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def info_view(self):
data={
'schema_version': settings.DANDI_SCHEMA_VERSION,
'schema_url': schema_url,
'version': __version__.lstrip('v'),
'version': __version__,
'cli-minimal-version': '0.14.2',
'cli-bad-versions': [],
'services': {
Expand Down

0 comments on commit ae0be4c

Please sign in to comment.