Skip to content

Commit

Permalink
Removing a commented change
Browse files Browse the repository at this point in the history
	modified:   webapp/azext_webapp/custom.py
  • Loading branch information
panchagnula committed Aug 7, 2018
1 parent 897aefd commit 9761e67
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/webapp/azext_webapp/custom.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,12 +168,12 @@ def create_deploy_webapp(cmd, name, location=None, dryrun=False):
logger.warning("Preparing to deploy %s contents to app.",
'' if is_skip_build else 'and build')
enable_zip_deploy(cmd, rg_name, name, zip_file_path)
# if not is_java:
# # Remove the file afer deployment, handling exception if user removed the file manually
# try:
# os.remove(zip_file_path)
# except OSError:
# pass
if not is_java:
# Remove the file afer deployment, handling exception if user removed the file manually
try:
os.remove(zip_file_path)
except OSError:
pass
else:
logger.warning('No known package (Node, ASP.NET, .NETCORE, Java or Static Html) '
'found skipping zip and deploy process')
Expand Down

0 comments on commit 9761e67

Please sign in to comment.