summaryrefslogtreecommitdiffstats
path: root/utils/checkpackagelib/lib_hash.py
diff options
context:
space:
mode:
Diffstat (limited to 'utils/checkpackagelib/lib_hash.py')
-rw-r--r--utils/checkpackagelib/lib_hash.py16
1 files changed, 0 insertions, 16 deletions
diff --git a/utils/checkpackagelib/lib_hash.py b/utils/checkpackagelib/lib_hash.py
index 10b27482bc..c4d055ee22 100644
--- a/utils/checkpackagelib/lib_hash.py
+++ b/utils/checkpackagelib/lib_hash.py
@@ -17,22 +17,6 @@ def _empty_line_or_comment(text):
return text.strip() == "" or text.startswith("#")
-class HashFilename(_CheckFunction):
- def check_line(self, lineno, text):
- if _empty_line_or_comment(text):
- return
-
- fields = text.split()
- if len(fields) < 3:
- return
-
- if '/' in fields[2]:
- return ["{}:{}: use filename without directory component"
- " ({}#adding-packages-hash)"
- .format(self.filename, lineno, self.url_to_manual),
- text]
-
-
class HashNumberOfFields(_CheckFunction):
def check_line(self, lineno, text):
if _empty_line_or_comment(text):
OpenPOWER on IntegriCloud