Skip to content

Commit

Permalink
Updated order of reverting
Browse files Browse the repository at this point in the history
  • Loading branch information
Connor Bray committed May 21, 2018
1 parent 9554a34 commit 6b83973
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions aws_conduit/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,12 +221,12 @@ def replace_resources(directory, bucket, prefix, path=None, file_data=None):
def revert_resources(directory, bucket, prefix, path=None, file_data=None):
if file_data is not None:
print("Replacing in {}".format(path))
data = data.replace(BUCKET_KEY, BUCKET_KEY_OTHER)
data = data.replace(PREFIX_KEY, PREFIX_KEY_OTHER)
data = data.replace(RESOURCES_KEY, RESOURCES_KEY_OTHER)
data = file_data.replace(directory, RESOURCES_KEY)
data = data.replace(bucket.name,BUCKET_KEY)
data = data.replace(prefix, PREFIX_KEY)
data = data.replace(RESOURCES_KEY, RESOURCES_KEY_OTHER)
data = data.replace(BUCKET_KEY, BUCKET_KEY_OTHER)
data = data.replace(PREFIX_KEY, PREFIX_KEY_OTHER)
return data


Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
include_package_data=True,
name='aws_conduit',
packages=['aws_conduit', 'aws_conduit.aws'],
version='0.0.32',
version='0.0.33',
description='Product management for AWS Service Catalog.',
author='Connor Bray',
author_email='[email protected]',
url="https://github.com/concon121/aws-conduit",
download_url="https://github.com/concon121/aws-conduit/archive/0.0.32.tar.gz",
download_url="https://github.com/concon121/aws-conduit/archive/0.0.33.tar.gz",
install_requires=required,
keywords=['aws', 'servicecatalog'],
entry_points={
Expand Down

0 comments on commit 6b83973

Please sign in to comment.