* util/import_gcry.py: Accept space between # and include.
This commit is contained in:
parent
3471ecdfd9
commit
e084ba1895
2 changed files with 6 additions and 3 deletions
|
@ -1,3 +1,7 @@
|
|||
2011-10-23 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* util/import_gcry.py: Accept space between # and include.
|
||||
|
||||
2011-10-23 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/lib/setjmp.S [__ia64__]: Include ./ia64/longjmp.S.
|
||||
|
|
|
@ -189,10 +189,9 @@ for cipher_file in cipher_files:
|
|||
continue
|
||||
else:
|
||||
fw.write (holdline)
|
||||
m = re.match ("#include <.*>", line)
|
||||
m = re.match ("# *include <(.*)>", line)
|
||||
if not m is None:
|
||||
chmsg = "Removed including of %s" % \
|
||||
m.group () [len ("#include <"):len (m.group ()) - 1]
|
||||
chmsg = "Removed including of %s" % m.groups ()[0]
|
||||
if nch:
|
||||
chlognew = "%s\n %s" % (chlognew, chmsg)
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue