From 0a98a3f04c35d9899f1de559481d2cf2a4d2f458 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sat, 13 May 2017 23:21:00 +0200 Subject: some work with patches --- debian/patches/0110-syslog.diff | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'debian/patches/0110-syslog.diff') diff --git a/debian/patches/0110-syslog.diff b/debian/patches/0110-syslog.diff index cffffb4..ceda4ae 100644 --- a/debian/patches/0110-syslog.diff +++ b/debian/patches/0110-syslog.diff @@ -6,9 +6,9 @@ Last-Update: 2014-05-22 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ Index: trunk/mwc.py =================================================================== ---- trunk.orig/mwc.py 2014-09-18 14:47:28.427409601 +0200 -+++ trunk/mwc.py 2014-09-18 14:47:28.411409275 +0200 -@@ -19,6 +19,7 @@ +--- trunk.orig/mwc.py ++++ trunk/mwc.py +@@ -19,6 +19,7 @@ import os import sys import getopt import traceback @@ -16,7 +16,7 @@ Index: trunk/mwc.py import subprocess -@@ -214,25 +215,28 @@ +@@ -225,25 +226,28 @@ def sendmail(receiver, subject, content, # initialize session once, not each time this method gets called # # add try / except to open mailsession @@ -60,7 +60,7 @@ Index: trunk/mwc.py # returns a list of all content that is stored locally for a specific site def getFileContents(shortname): -@@ -319,7 +323,11 @@ +@@ -330,7 +334,11 @@ if __name__ == "__main__": configMod = '/etc/mwc/mwc-config' dryrun = None @@ -73,7 +73,7 @@ Index: trunk/mwc.py try: opts, args = getopt.getopt(sys.argv[1:], 'hc:d:', ['help', 'config=', 'dry-run=']) except getopt.GetoptError: -@@ -344,11 +352,13 @@ +@@ -355,11 +363,13 @@ if __name__ == "__main__": config = importlib.import_module(fullname) except: print('Error: loading config') @@ -87,7 +87,7 @@ Index: trunk/mwc.py sys.exit(3) if dryrun: -@@ -370,3 +380,5 @@ +@@ -381,3 +391,5 @@ if __name__ == "__main__": mailsession.quit() mailsession = None -- cgit v1.2.3