diff --git a/library/cloud/nova_keypair b/library/cloud/nova_keypair index 18674a1220..dda549fbbe 100644 --- a/library/cloud/nova_keypair +++ b/library/cloud/nova_keypair @@ -19,7 +19,7 @@ try: from novaclient.v1_1 import client as nova_client - from novaclient import exceptions + from novaclient import exceptions as exc import time except ImportError: print("failed=True msg='novaclient is required for this module to work'")