Skip to content

Commit b2b4e26

Browse files
committed
Remove ConfigParser use of readfp for read_file.
1 parent f9a0be9 commit b2b4e26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SoftLayer/CLI/template.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def __call__(self, ctx, param, value):
2828
ini_str = '[settings]\n' + open(
2929
os.path.expanduser(value), 'r').read()
3030
ini_fp = io.StringIO(ini_str)
31-
config.readfp(ini_fp)
31+
config.read_file(ini_fp)
3232

3333
# Merge template options with the options passed in
3434
args = {}

0 commit comments

Comments
 (0)