code for updating node
authorAnil-Kumar Vengalil <Anil-Kumar.Vengalil@sophia.inria.fr>
Thu, 28 May 2009 17:43:56 +0000 (17:43 +0000)
committerAnil-Kumar Vengalil <Anil-Kumar.Vengalil@sophia.inria.fr>
Thu, 28 May 2009 17:43:56 +0000 (17:43 +0000)
cmdline/sfi.py

index 315658f..cdeac7b 100755 (executable)
@@ -511,6 +511,8 @@ def update(opts, args):
                raise
    elif record.get_type() in ["authority"]:
        cred = get_auth_cred()
+   elif record.get_type() == 'node':
+        cred = get_auth_cred()
    else:
        raise "unknown record type" + record.get_type()
    return registry.update(cred, record)