Skip to content

Commit

Permalink
Fix module name, linting
Browse files Browse the repository at this point in the history
  • Loading branch information
NyanHelsing committed Apr 30, 2018
1 parent 5bb1a9e commit ee4e798
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions waterbutler/providers/box/provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ async def intra_copy(
dest_provider: provider.BaseProvider,
src_path: WaterButlerPath,
dest_path: WaterButlerPath
) -> typing.Tuple[typing.Union[BoxFileMetadata, BoxFolderMetadata], bool]:
) -> Tuple[typing.Union[BoxFileMetadata, BoxFolderMetadata], bool]:
"""Copy a file if the src and dest are both on Box.
"""

Expand Down Expand Up @@ -288,7 +288,7 @@ async def download(self, # type: ignore
path: WaterButlerPath, revision: str=None, range: Tuple[int, int]=None,
**kwargs) -> streams.ResponseStreamReader:
if path.identifier is None:
raise exceptions.DownloadError('"{}" not found'.format(str(path)), code=404)
raise exceptions.DownloadError('"{}" not found'.format(str(path)), code=404)
query = {}
if revision and revision != path.identifier:
query['version'] = revision
Expand Down

0 comments on commit ee4e798

Please sign in to comment.