Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed hierarchical settings overrides

  • Loading branch information...
commit b828290f3c8448496e2e61d04488113a53d26e9e 1 parent 41f5d3a
@melor melor authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 poni/newconfig.py
View
4 poni/newconfig.py
@@ -59,7 +59,7 @@ def apply_update(self, update, target, file_path):
for key, value in update.iteritems():
first = key[:1]
- if key[:1] in ["!", "+", "-"]:
+ if first in ["!", "+", "-"]:
try:
target_value = target[key[1:]]
except KeyError:
@@ -81,7 +81,7 @@ def apply_update(self, update, target, file_path):
"%s: unknown setting %r (not in default settings)" % (
file_path, key))
- self.apply_update(target[key], value, file_path)
+ self.apply_update(value, target[key], file_path)
class Proxy:
Please sign in to comment.
Something went wrong with that request. Please try again.