diff options
author | Unit 193 <unit193@unit193.net> | 2021-04-22 20:34:43 -0400 |
---|---|---|
committer | Unit 193 <unit193@unit193.net> | 2021-04-22 20:34:43 -0400 |
commit | 65e0690ef187b8476472a8197aea00dd9e05990b (patch) | |
tree | cdad89626784689ce5074e36efb180c2e2af40b4 | |
parent | 5fe4d85d8450575556385f20c46d67887009e245 (diff) | |
download | nikola-65e0690ef187b8476472a8197aea00dd9e05990b.tar.bz2 nikola-65e0690ef187b8476472a8197aea00dd9e05990b.tar.xz nikola-65e0690ef187b8476472a8197aea00dd9e05990b.tar.zst |
Drop upstream patch.
-rw-r--r-- | debian/patches/fix_traceback_on_deploy.patch | 31 | ||||
-rw-r--r-- | debian/patches/series | 1 |
2 files changed, 0 insertions, 32 deletions
diff --git a/debian/patches/fix_traceback_on_deploy.patch b/debian/patches/fix_traceback_on_deploy.patch deleted file mode 100644 index 35641a9..0000000 --- a/debian/patches/fix_traceback_on_deploy.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 0e47daeb30a59ecabce2a6ee8b7d50aae48a8c16 Mon Sep 17 00:00:00 2001 -From: Harshad Sharma <harshad@sharma.io> -Date: Thu, 3 Dec 2020 01:13:59 +0530 -Subject: [PATCH] fixes #3479 - ---- - nikola/plugins/command/deploy.py | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/nikola/plugins/command/deploy.py b/nikola/plugins/command/deploy.py -index 5273b58dd..11a0c9bf1 100644 ---- a/nikola/plugins/command/deploy.py -+++ b/nikola/plugins/command/deploy.py -@@ -54,6 +54,8 @@ def _execute(self, command, args): - if last_deploy is not None: - last_deploy = dateutil.parser.parse(last_deploy) - clean = False -+ else: -+ clean = True - - if self.site.config['COMMENT_SYSTEM'] and self.site.config['COMMENT_SYSTEM_ID'] == 'nikolademo': - self.logger.warning("\nWARNING WARNING WARNING WARNING\n" -@@ -96,6 +98,8 @@ def _execute(self, command, args): - self.logger.info("Successful deployment") - - new_deploy = datetime.utcnow() -+ if last_deploy is None: -+ last_deploy = new_deploy - self._emit_deploy_event(last_deploy, new_deploy, clean, undeployed_posts) - - # Store timestamp of successful deployment diff --git a/debian/patches/series b/debian/patches/series deleted file mode 100644 index 36f6280..0000000 --- a/debian/patches/series +++ /dev/null @@ -1 +0,0 @@ -fix_traceback_on_deploy.patch |