  class FullPaths(argparse.Action):
      """ Expand user- and relative-paths """
      def __call__(self, parser, namespace, values, option_string=None):
          setattr(namespace, self.dest, os.path.abspath(
              os.path.expanduser(values)))
  
  
  class DirFullPaths(FullPaths):
 
</s> remove         script = self.import_script()
        process = script(arguments)
        process.process()
 </s> add         log_setup(arguments.loglevel)
        logger.debug("Executing: %s. PID: %s", self.command, os.getpid())
        try:
            script = self.import_script()
            process = script(arguments)
            process.process()
        except KeyboardInterrupt:  # pylint: disable=try-except-raise
            raise
        except SystemExit:
            pass
        except Exception:  # pylint: disable=broad-except
            crash_file = crash_log()
            logger.exception("Got Exception on main handler:")
            logger.critical("An unexpected crash has occurred. Crash report written to %s. "
                            "Please verify you are running the latest version of faceswap "
                            "before reporting", crash_file)

        finally:
            safe_shutdown() </s> remove class DebugLandmarks(PostProcessAction):
 </s> add class DebugLandmarks(PostProcessAction):  # pylint: disable=too-few-public-methods </s> remove class CliOptions(object):
 </s> add class CliOptions():
    # pylint: disable=too-few-public-methods
  class FullPaths(argparse.Action):
      """ Expand user- and relative-paths """
    # pylint: disable=too-few-public-methods
      def __call__(self, parser, namespace, values, option_string=None):
          setattr(namespace, self.dest, os.path.abspath(
              os.path.expanduser(values)))
  
  
  class DirFullPaths(FullPaths):
keep add keep keep keep keep keep keep
 Logging (#541)

* Convert prints to logger. Further logging improvements. Tidy  up

* Fix system verbosity. Allow SystemExit

* Fix reload extract bug

* Child Traceback handling

* Safer shutdown procedure

* Add shutdown event to queue manager

* landmarks_as_xy > property. GUI notes + linting. Aligner bugfix

* fix FaceFilter. Enable nFilter when no Filter is supplied

* Fix blurry face filter

* Continue on IO error. Better error handling

* Explicitly print stack trace tocrash log

* Windows Multiprocessing bugfix

* Add git info and conda version to crash log

* Windows/Anaconda mp bugfix

* Logging fixes for training 
lib/cli.py