shuffle/unexpose commands so that myslice comes last
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Wed, 22 May 2013 14:43:47 +0000 (16:43 +0200)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Thu, 23 May 2013 08:34:21 +0000 (10:34 +0200)
sfa/client/sfi.py

index d399316..0e8b8e1 100644 (file)
@@ -840,6 +840,11 @@ use this if you mean an authority instead""")
     # Registry-related commands
     #==========================================================================
 
+    @register_command("","")
+    def config (self, options, args):
+        "Display contents of current config"
+        self.show_config()
+
     @register_command("","")
     def version(self, options, args):
         """
@@ -1483,7 +1488,8 @@ $ sfi myslice
         # ManifoldUploader
         pass
 
-    @register_command("cred","")
+# Thierry: I'm turning this off, no idea what it's used for
+#    @register_command("cred","")
     def trusted(self, options, args):
         """
         return the trusted certs at this interface (get_trusted_certs)
@@ -1496,7 +1502,3 @@ $ sfi myslice
             self.logger.debug('Sfi.trusted -> %r'%cert.get_subject())
         return 
 
-    @register_command("","")
-    def config (self, options, args):
-        "Display contents of current config"
-        self.show_config()