-
Committer:
Steve Beattie
-
Author(s):
Christian Boltz
-
Date:
2015-04-14 01:34:33 UTC
-
Revision ID:
sbeattie@ubuntu.com-20150414013433-m5nho8zmkixb2buw
utils: Add support for attachments to write_header()
Merge from trunk revision 2985
Also fix a little bug that added the profile keyword if the path needed
quotes (profile "/foo bar" - but "/foo bar" is enough). This was caused
by a regex that always matched on quoted paths (hint: "/ matches
^[^/] ;-)
Also add some tests with attachments and update the test for the bugfix
mentioned above.
Now the remaining part is to make sure that prof_data['attachment'] gets
set when parsing the profiles :-)
Acked-by: Steve Beattie <steve@nxnw.org>