Skip to content
This repository was archived by the owner on May 9, 2020. It is now read-only.

Commit e18dba3

Browse files
author
Marat Komarov
committed
Synced with upstream
2 parents 68f5291 + 5ee4cea commit e18dba3

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

chef/api.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,14 @@ def from_config_file(cls, path):
116116
value = md.group(2)
117117
else:
118118
# Not a string, don't even try
119+
<<<<<<< HEAD
119120
log.debug('Value for %s does not look like a string: %s' % (key, value))
120121
continue
121122

123+
=======
124+
log.debug('Value for %s does not look like a string: %s'%(key, value))
125+
continue
126+
>>>>>>> master
122127
def _ruby_value(match):
123128
expr = match.group(1).strip()
124129
if expr == 'current_dir':
@@ -230,7 +235,11 @@ def request(self, method, path, headers={}, data=None):
230235
return response
231236

232237
def api_request(self, method, path, headers={}, data=None):
238+
<<<<<<< HEAD
233239
headers = dict((k.lower(), v) for k, v in headers.items())
240+
=======
241+
headers = dict((k.lower(), v) for k, v in headers.iteritems())
242+
>>>>>>> master
234243
headers['accept'] = 'application/json'
235244
if data is not None:
236245
headers['content-type'] = 'application/json'

0 commit comments

Comments
 (0)