also pass right logger to SfaClientBootstrap so the msg shows up
return filename
else:
# remove invalid file
+ self.logger.warning ("Removing %s - has expired"%filename)
os.unlink(filename)
try:
produce_method (self, filename, *args, **kw)
# init self-signed cert, user credentials and gid
def bootstrap (self):
- client_bootstrap = SfaClientBootstrap (self.user, self.reg_url, self.options.sfi_dir)
+ client_bootstrap = SfaClientBootstrap (self.user, self.reg_url, self.options.sfi_dir,
+ logger=self.logger)
# if -k is provided, use this to initialize private key
if self.options.user_private_key:
client_bootstrap.init_private_key_if_missing (self.options.user_private_key)