Skip to content

Commit

Permalink
Merge pull request #74 from mytardis/develop
Browse files Browse the repository at this point in the history
Merging into master for v0.6.1 build
  • Loading branch information
wettenhj authored Oct 7, 2016
2 parents 09fe314 + 2aa764c commit d6984d0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion mydata/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"""
import sys

__version__ = "0.6.1-beta4"
__version__ = "0.6.1"


try:
Expand Down
6 changes: 3 additions & 3 deletions mydata/utils/openssh.py
Original file line number Diff line number Diff line change
Expand Up @@ -630,8 +630,8 @@ def UploadFile(filePath, fileSize, username, privateKeyFilePath,
"the remote server is larger than the local file "
"size for \"%s\"." % filePath)
elif 0 < bytesUploaded < fileSize:
logger.info("MyData will attempt to resume the partially "
"completed upload for \"%s\"..." % filePath)
logger.debug("MyData will attempt to resume the partially "
"completed upload for \"%s\"..." % filePath)
elif bytesUploaded == 0:
progressCallback(bytesUploaded, fileSize, message="Uploading...")

Expand Down Expand Up @@ -1217,7 +1217,7 @@ def UploadLargeFileFromWindows(filePath, fileSize, username,
# from a datafile a little bit at a time (not wasting memory).
with open(filePath, 'rb') as datafile:
with open(chunkFilePath, 'wb') as chunkFile:
logger.info("Writing chunk to %s" % chunkFilePath)
logger.debug("Writing chunk to %s" % chunkFilePath)
datafile.seek(skip * chunkSize)
bytesTransferred = long(0)
smallChunkSize = chunkSize
Expand Down

0 comments on commit d6984d0

Please sign in to comment.