[geany/www.geany.org] dc23ee: Fix pylint errors and remove unused django-memcache-status app
Enrico Tröger
git-noreply at xxxxx
Thu Nov 21 22:33:55 UTC 2019
Branch: refs/heads/master
Author: Enrico Tröger <enrico.troeger at uvena.de>
Committer: Enrico Tröger <enrico.troeger at uvena.de>
Date: Thu, 21 Nov 2019 22:33:55 UTC
Commit: dc23eed8c9990b377a054a2432993fd76c2cae1c
https://github.com/geany/www.geany.org/commit/dc23eed8c9990b377a054a2432993fd76c2cae1c
Log Message:
-----------
Fix pylint errors and remove unused django-memcache-status app
Modified Paths:
--------------
geany/settings.py
latest_version/apps.py
news/apps.py
nightlybuilds/templatetags/nightlybuilds_tags.py
pastebin/apps.py
requirements.txt
Modified: geany/settings.py
1 lines changed, 0 insertions(+), 1 deletions(-)
===================================================================
@@ -390,7 +390,6 @@
OPTIONAL_APPS = (
"debug_toolbar",
"django_extensions",
- "memcache_status",
"compressor",
PACKAGE_NAME_FILEBROWSER,
PACKAGE_NAME_GRAPPELLI,
Modified: latest_version/apps.py
1 lines changed, 1 insertions(+), 0 deletions(-)
===================================================================
@@ -22,6 +22,7 @@ class LatestVersionAppConfig(AppConfig):
# ----------------------------------------------------------------------
def ready(self):
# register our urlpatterns to the global sitemap generator
+ # pylint: disable=import-outside-toplevel
from geany.sitemaps import sitemap_registry, StaticSitemap
from latest_version.urls import urlpatterns
sitemap_registry.add(StaticSitemap, urlpatterns, exclude_views=['latest_version_legacy'])
Modified: news/apps.py
1 lines changed, 1 insertions(+), 0 deletions(-)
===================================================================
@@ -22,6 +22,7 @@ class NewsAppConfig(AppConfig):
# ----------------------------------------------------------------------
def ready(self):
# register our urlpatterns to the global sitemap generator
+ # pylint: disable=import-outside-toplevel
from geany.sitemaps import sitemap_registry
from news.sitemaps import NewsPostSitemap
from news.urls import urlpatterns
Modified: nightlybuilds/templatetags/nightlybuilds_tags.py
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -35,7 +35,7 @@ def get_build_log(nightly_build, log_type):
logfile_path = os.path.join(BASE_DIR, nightly_build.nightly_build_target.folder, log)
try:
size = os.stat(logfile_path).st_size
- except (IOError, OSError):
+ except OSError:
pass
else:
if size > 0:
Modified: pastebin/apps.py
1 lines changed, 1 insertions(+), 0 deletions(-)
===================================================================
@@ -22,6 +22,7 @@ class PastebinAppConfig(AppConfig):
# ----------------------------------------------------------------------
def ready(self):
# Sitemap framework
+ # pylint: disable=import-outside-toplevel
from geany.sitemaps import sitemap_registry, StaticSitemap
from pastebin.urls import urlpatterns
sitemap_registry.add(StaticSitemap, urlpatterns, exclude_views=['snippet_api'])
Modified: requirements.txt
1 lines changed, 0 insertions(+), 1 deletions(-)
===================================================================
@@ -6,7 +6,6 @@ django-extensions
django-honeypot
django-link-shortener
django-log-request-id
-django-memcache-status
mezzanine-pagedown
mezzanine-sync-pages
pygments
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Commits
mailing list