Skip to content

Commit

Permalink
Fix missing import, dunno how this made it past testing
Browse files Browse the repository at this point in the history
  • Loading branch information
jgfouca committed Jul 18, 2016
1 parent ed3a74d commit 479ddea
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions utils/python/CIME/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,7 @@
Common functions used by cime python scripts
Warning: you cannot use CIME Classes in this module as it causes circular dependencies
"""
import logging
import logging.config
import sys
import os
import time
import re
import logging, gzip, sys, os, time, re, shutil

# Return this error code if the scripts worked but tests failed
TESTS_FAILED_ERR_CODE = 100
Expand Down Expand Up @@ -454,7 +449,6 @@ def safe_copy(src_dir, tgt_dir, file_map):
read-only file. Files can be relative paths and the relative path will be
matched on the tgt side.
"""
import shutil
for src_file, tgt_file in file_map:
full_tgt = os.path.join(tgt_dir, tgt_file)
full_src = src_file if os.path.isabs(src_file) else os.path.join(src_dir, src_file)
Expand Down

0 comments on commit 479ddea

Please sign in to comment.