11507: Cleanup
[arvados.git] / sdk / python / arvados / commands / put.py
index 83fde9cba48b441ad1c1bf5a7e463430cf0a64df..42510754aba4724bb7b91aa061125fce52a1c1a0 100644 (file)
@@ -681,7 +681,7 @@ class ArvPutUploadJob(object):
                 self._cache_file = open(cache_filepath, 'a+')
             else:
                 # --no-resume means start with a empty cache file.
-                self.logger.info("Creating new cache file create at {}".format(cache_filepath))
+                self.logger.info("Creating new cache file at {}".format(cache_filepath))
                 self._cache_file = open(cache_filepath, 'w+')
             self._cache_filename = self._cache_file.name
             self._lock_file(self._cache_file)
@@ -698,6 +698,7 @@ class ArvPutUploadJob(object):
                     # Cache file empty, set up new cache
                     self._state = copy.deepcopy(self.EMPTY_STATE)
             else:
+                self.logger.info("No cache usage requested for this run.")
                 # No cache file, set empty state
                 self._state = copy.deepcopy(self.EMPTY_STATE)
             # Load the previous manifest so we can check if files were modified remotely.