diff options
-rw-r--r-- | morphlib/app.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/morphlib/app.py b/morphlib/app.py index b4d316e8..9ae177f5 100644 --- a/morphlib/app.py +++ b/morphlib/app.py @@ -219,6 +219,10 @@ class Morph(cliapp.Application): tmpdir = os.path.join(tmpdir_base, 'morph_tmp') self.settings['tempdir'] = tmpdir + if 'MORPH_DUMP_PROCESSED_CONFIG' in os.environ: + self.settings.dump_config(sys.stdout) + sys.exit(0) + def create_dir_if_not_exists(dir): if not os.path.exists(dir): os.makedirs(dir) @@ -232,10 +236,6 @@ class Morph(cliapp.Application): create_dir_if_not_exists(self.settings['cachedir']) - if 'MORPH_DUMP_PROCESSED_CONFIG' in os.environ: - self.settings.dump_config(sys.stdout) - sys.exit(0) - cliapp.Application.process_args(self, args) def setup_plugin_manager(self): |