From 4825c2287f44c8c4e1cdd69f79037c4cd9569b77 Mon Sep 17 00:00:00 2001 From: Seblu Date: Fri, 7 Jan 2011 14:29:22 +0100 Subject: [PATCH] fix exception on invalid profile name as command line argument --- bin/cc-cli | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/cc-cli b/bin/cc-cli index 0311b14..9a48f99 100755 --- a/bin/cc-cli +++ b/bin/cc-cli @@ -85,7 +85,7 @@ try: if fparser.has_section(options.profile): settings.update(fparser.items(options.profile)) else: - printer.warn("Unable to load profile %s"%option.profile) + printer.warn("Unable to load profile %s"%options.profile) except Exception as e: if cccli.debug: raise -- GitLab