added some verbose output
authorTony Mack <tmack@cs.princeton.edu>
Thu, 10 Dec 2009 23:34:47 +0000 (23:34 +0000)
committerTony Mack <tmack@cs.princeton.edu>
Thu, 10 Dec 2009 23:34:47 +0000 (23:34 +0000)
sfa/server/sfa_component_setup.py

index cf5c468..336ecec 100755 (executable)
@@ -152,6 +152,8 @@ def get_trusted_certs(registry=None, verbose=False):
     all_gids_names = os.listdir(trusted_certs_dir)
     for gid_name in all_gids_names:
         if gid_name not in trusted_gid_names:
+            if verbose:
+                print "Removing old gid ", gid_name
             os.unlink(trusted_certs_dir + os.sep + gid_name)                     
 
 def get_gids(registry=None, verbose=False):