cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seb...@apache.org
Subject [48/50] cloudstack-ec2stack git commit: fix pep8 issues
Date Tue, 05 May 2015 13:26:41 GMT
fix pep8 issues


Project: http://git-wip-us.apache.org/repos/asf/cloudstack-ec2stack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack-ec2stack/commit/882dc5fd
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack-ec2stack/tree/882dc5fd
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack-ec2stack/diff/882dc5fd

Branch: refs/heads/master
Commit: 882dc5fd52f50ba65c8ef8db3b90547141f957b1
Parents: 4f12cfe
Author: Ian Duffy <ian@ianduffy.ie>
Authored: Mon Apr 13 14:49:47 2015 +0100
Committer: Ian Duffy <ian@ianduffy.ie>
Committed: Mon Apr 13 14:49:47 2015 +0100

----------------------------------------------------------------------
 ec2stack/__init__.py  | 4 +---
 ec2stack/configure.py | 3 +--
 2 files changed, 2 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack-ec2stack/blob/882dc5fd/ec2stack/__init__.py
----------------------------------------------------------------------
diff --git a/ec2stack/__init__.py b/ec2stack/__init__.py
index e9c3086..1e5b729 100644
--- a/ec2stack/__init__.py
+++ b/ec2stack/__init__.py
@@ -125,9 +125,7 @@ def _config_from_config_profile(config_file, profile, app):
     config.read(config_file)
 
     if not config.has_section(profile):
-        sys.exit('No profile matching ' + profile
-                 + ' found in configuration, please run ec2stack-configure -p '
-                 + profile)
+        sys.exit('No profile matching ' + profile + ' found in configuration, please run
ec2stack-configure -p ' + profile)
 
     for attribute in config.options(profile):
         app.config[attribute.upper()] = config.get(profile, attribute)

http://git-wip-us.apache.org/repos/asf/cloudstack-ec2stack/blob/882dc5fd/ec2stack/configure.py
----------------------------------------------------------------------
diff --git a/ec2stack/configure.py b/ec2stack/configure.py
index 66ec338..9255c1d 100644
--- a/ec2stack/configure.py
+++ b/ec2stack/configure.py
@@ -192,8 +192,7 @@ def _set_optional_attributes_of_profile(config, profile):
         config = _read_user_instance_mappings(config, profile)
 
     configure_resource_type_mapings = raw_input(
-        'Do you wish to input resource type to resource id mappings'
-        + ' for tag support? (Yes/No): '
+        'Do you wish to input resource type to resource id mappings' + ' for tag support?
(Yes/No): '
     )
 
     if configure_resource_type_mapings.lower() in ['yes', 'y']:


Mime
View raw message