Initial Commit
- initial default booting image
This commit is contained in:
14
utils/checkpackagelib/lib_ignore.py
Normal file
14
utils/checkpackagelib/lib_ignore.py
Normal file
@@ -0,0 +1,14 @@
|
||||
# See utils/checkpackagelib/readme.txt before editing this file.
|
||||
|
||||
import os
|
||||
|
||||
from checkpackagelib.base import _CheckFunction
|
||||
|
||||
|
||||
class IgnoreMissingFile(_CheckFunction):
|
||||
def check_line(self, lineno, text):
|
||||
fields = text.split()
|
||||
if not os.path.exists(fields[0]):
|
||||
return ["{}:{}: ignored file {} is missing"
|
||||
.format(self.filename, lineno, fields[0]),
|
||||
text]
|
||||
Reference in New Issue
Block a user