Skip to content

Commit 2f76d52

Browse files
Removes messages moved to cli.
1 parent 7cb520e commit 2f76d52

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pythonanywhere_core/webapp.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ def create(self, python_version: str, virtualenv_path: Path, project_path: Path,
7171
7272
:raises PythonAnywhereApiException: if API call fails
7373
"""
74-
print(snakesay("Creating web app via API"))
7574
if nuke:
7675
call_api(self.domain_url, "delete")
7776
response = call_api(
@@ -94,7 +93,6 @@ def add_default_static_files_mappings(self, project_path: Path) -> None:
9493
9594
:param project_path: path to the project
9695
"""
97-
print(snakesay("Adding static files mappings for /static/ and /media/"))
9896
url = f"{self.domain_url}static_files/"
9997
call_api(url, "post", json=dict(url="/static/", path=str(Path(project_path) / "static")))
10098
call_api(url, "post", json=dict(url="/media/", path=str(Path(project_path) / "media")))
@@ -103,7 +101,6 @@ def reload(self) -> None:
103101
"""Reload webapp
104102
105103
:raises PythonAnywhereApiException: if API call fails"""
106-
print(snakesay(f"Reloading {self.domain} via API"))
107104
url = f"{self.domain_url}reload/"
108105
response = call_api(url, "post")
109106
if not response.ok:

0 commit comments

Comments
 (0)