Skip to content
Myr

Untangle logic a bit

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Markus Unterwaditzer · committed by Markus Unterwaditzer · parent 0748e2d · Browse files · 1 file+3 added−4 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+3 added−4 removed

  • other:+3 added−4 removed

1 file+3 added−4 removed

modified:flask/helpers.py+3 added-4 removed
800 unmodified lines
801 static_folder = property(_get_static_folder, _set_static_folder)802 del _get_static_folder, _set_static_folder803804 def _get_static_url_path(self):805 if self._static_url_path is None:806 if self.static_folder is None:807 return None805 if self._static_url_path is not None:806 return self._static_url_path807 if self.static_folder is not None:808 return '/' + os.path.basename(self.static_folder)809 return self._static_url_path809 def _set_static_url_path(self, value):810 self._static_url_path = value811 static_url_path = property(_get_static_url_path, _set_static_url_path)812 del _get_static_url_path, _set_static_url_path
86 unmodified lines