X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/d4ed3e6460469f2766e1f1676c538d6c86e000b6..873fcf181c037cc1e42419bfeaf5bb70c9d9e239:/sdk/python/arvados/commands/run.py diff --git a/sdk/python/arvados/commands/run.py b/sdk/python/arvados/commands/run.py index a45775470a..474111d882 100644 --- a/sdk/python/arvados/commands/run.py +++ b/sdk/python/arvados/commands/run.py @@ -15,11 +15,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -from __future__ import print_function -from __future__ import absolute_import -from builtins import range -from past.builtins import basestring -from builtins import object import arvados import arvados.commands.ws as ws import argparse @@ -65,7 +60,7 @@ def is_in_collection(root, branch): return (None, None) fn = os.path.join(root, ".arvados#collection") if os.path.exists(fn): - with file(fn, 'r') as f: + with open(fn, 'r') as f: c = json.load(f) return (c["portable_data_hash"], branch) else: @@ -236,7 +231,7 @@ def uploadfiles(files, api, dry_run=False, num_retries=0, # empty collection pdh = collection.portable_data_hash() assert (pdh == config.EMPTY_BLOCK_LOCATOR), "Empty collection portable_data_hash did not have expected locator, was %s" % pdh - logger.info("Using empty collection %s", pdh) + logger.debug("Using empty collection %s", pdh) for c in files: c.keepref = "%s/%s" % (pdh, c.fn)