- Fix expand option not to fail if files are missing since socket activation
service files are not shipped in the sdist
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
1.2.1
|
||||
- Fix expand option not to fail if files are missing since socket activation
|
||||
service files are not shipped in the sdist
|
||||
|
||||
1.2.0 2020-01-03
|
||||
- Add support for SigningTable, KeyTable, and KeyTableEd25519 (LP: #1797397)
|
||||
- Add support for specifying MinimumKeyBits for RSA signatures
|
||||
|
||||
@@ -56,6 +56,7 @@ class FileMacroExpand(distutils.cmd.Command):
|
||||
'system/socket-activation/dkimpy-milter.socket', ]
|
||||
for infile in files:
|
||||
outfile = ''
|
||||
try:
|
||||
filein = open(infile + '.in')
|
||||
for line in filein:
|
||||
for function in ["@SYSCONFDIR@", "@CONFDIR@", "@SBINDIR@", "@BINDIR@", "@RUNSTATEDIR@"]:
|
||||
@@ -76,6 +77,8 @@ class FileMacroExpand(distutils.cmd.Command):
|
||||
for line in outfile:
|
||||
out.write(line)
|
||||
out.close()
|
||||
except FileNotFoundError as x:
|
||||
pass
|
||||
|
||||
kw = {} # Work-around for lack of 'or' requires in setuptools.
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user