Skip to content

Commit

Permalink
fix a hdfs conf bug
Browse files Browse the repository at this point in the history
  • Loading branch information
mythmgn committed Mar 10, 2016
1 parent a143637 commit 7b6ab6b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cup/util/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -1121,9 +1121,9 @@ def _write_to_conf(self, new_confdict):
if valuenode.firstChild is None:
if tmpdict[name]['value'] is not None:
valuenode.appendChild(dom.createTextNode(''))
valuenode.firstChild.replaceWholeText(
tmpdict[name]['value']
)
valuenode.firstChild.replaceWholeText(
tmpdict[name]['value']
)
del tmpdict[name]
else:
parent = pro.parentNode
Expand Down

0 comments on commit 7b6ab6b

Please sign in to comment.