Parcourir la source

[trac384] fix the config go command

It had stopped working for any identifier that did not start with /, this should fix that
Jelte Jansen il y a 14 ans
Parent
commit
cad6c0a62b
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      src/bin/bindctl/bindcmd.py

+ 2 - 0
src/bin/bindctl/bindcmd.py

@@ -569,6 +569,8 @@ class BindCmdInterpreter(Cmd):
                 identifier += "/"
             if cmd.params['identifier'].startswith("/"):
                 identifier = cmd.params['identifier']
+            else:
+                identifier += cmd.params['identifier']
 
             # Check if the module is known; for unknown modules
             # we currently deny setting preferences, as we have