Skip to content

Commit f6350f9

Browse files
committed
Use Python 2 compatible syntax
1 parent 12b9119 commit f6350f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coverage_config_reload_plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def get_coverage_config():
1212
return config
1313

1414
def read_config_files(config):
15-
config_filenames = config.config_files.copy()
15+
config_filenames = config.config_files[:]
1616
for filename in config_filenames:
1717
prefix = '' if filename == '.coveragerc' else 'coverage:'
1818
config.from_file(filename, section_prefix=prefix)

0 commit comments

Comments
 (0)