diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-05-14 00:34:22 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-05-14 00:34:22 +0200 |
commit | 18449d7dd31123e14f8a0d87047f2f85187a156b (patch) | |
tree | 0670ac33b3698f782f49c8787f57d6354a8bc504 /debian/patches/0110-syslog.diff | |
parent | 19c841561fe19d657ce0305bfb70a274ea9f5a36 (diff) |
work on new release
Diffstat (limited to 'debian/patches/0110-syslog.diff')
-rw-r--r-- | debian/patches/0110-syslog.diff | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/debian/patches/0110-syslog.diff b/debian/patches/0110-syslog.diff index ceda4ae..12d629d 100644 --- a/debian/patches/0110-syslog.diff +++ b/debian/patches/0110-syslog.diff @@ -16,7 +16,7 @@ Index: trunk/mwc.py import subprocess -@@ -225,25 +226,28 @@ def sendmail(receiver, subject, content, +@@ -227,25 +228,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): -@@ -330,7 +334,11 @@ if __name__ == "__main__": +@@ -332,7 +336,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: -@@ -355,11 +363,13 @@ if __name__ == "__main__": +@@ -357,11 +365,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: -@@ -381,3 +391,5 @@ if __name__ == "__main__": +@@ -383,3 +393,5 @@ if __name__ == "__main__": mailsession.quit() mailsession = None |