#375 raise error on non-existing profile
Merged 5 years ago by mikem. Opened 5 years ago by tkopecek.
tkopecek/koji issue370  into  master

file modified
+1 -2
@@ -1658,8 +1658,7 @@ 

  

      # Check if the specified profile had a config specified

      if configs and not got_conf:

-         sys.stderr.write("Warning: no configuration for profile name: %s\n" % profile_name)

-         sys.stderr.flush()

+         raise ConfigurationError("no configuration for profile name: %s" % profile_name)

  

      # special handling for cert defaults

      cert_defaults = {

no initial comment

rebased

5 years ago

Commit 16b2aef fixes this pull-request

Pull-Request has been merged by mikem@redhat.com

5 years ago