mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
fix for python 2.6
This commit is contained in:
+1
-1
@@ -10,7 +10,7 @@ def format_toml(data):
|
||||
for i, line in enumerate(data):
|
||||
if i > 0:
|
||||
if line.startswith('['):
|
||||
data[i] = '\n{}'.format(line)
|
||||
data[i] = '\n{0}'.format(line)
|
||||
|
||||
return '\n'.join(data)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user