Skip to content

Commit 5c9c7fd

Browse files
committed
Merge pull request rackerlabs#27 from rackerlabs/workspace_name
Changed temp workspace name to lambda_uploader_temp to reduce confusion
2 parents 092e1bc + d35e283 commit 5c9c7fd

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,5 +53,5 @@ docs/_build/
5353
# PyBuilder
5454
target/
5555

56-
.lambda_package
56+
.lambda_uploader_temp
5757
*.zip

lambda_uploader/package.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
from lambda_uploader import utils
2323

2424
LOG = logging.getLogger(__name__)
25-
TEMP_WORKSPACE_NAME = ".lambda_package"
25+
TEMP_WORKSPACE_NAME = ".lamba_uploader_temp"
2626
ZIPFILE_NAME = 'lambda_function.zip'
2727

2828

test/test_package.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def test_package_zip_location():
2525

2626
def test_package_clean_workspace():
2727
temp_workspace = path.join(TESTING_TEMP_DIR,
28-
'.lambda_package')
28+
package.TEMP_WORKSPACE_NAME)
2929
os.mkdir(temp_workspace)
3030

3131
pkg = package.Package(TESTING_TEMP_DIR)
@@ -35,7 +35,7 @@ def test_package_clean_workspace():
3535

3636
def test_prepare_workspace():
3737
temp_workspace = path.join(TESTING_TEMP_DIR,
38-
'.lambda_package')
38+
package.TEMP_WORKSPACE_NAME)
3939

4040
pkg = package.Package(TESTING_TEMP_DIR)
4141
pkg.prepare_workspace()
@@ -50,7 +50,7 @@ def test_prepare_workspace():
5050
def test_install_requirements():
5151
reqs = ['pytest']
5252
temp_workspace = path.join(TESTING_TEMP_DIR,
53-
'.lambda_package')
53+
package.TEMP_WORKSPACE_NAME)
5454

5555
pkg = package.Package(TESTING_TEMP_DIR)
5656
# pkg.prepare_workspace()

0 commit comments

Comments
 (0)