summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_common.py
diff options
context:
space:
mode:
Diffstat (limited to 'bin/reproducible_common.py')
-rwxr-xr-xbin/reproducible_common.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/reproducible_common.py b/bin/reproducible_common.py
index 45779b05..7969d593 100755
--- a/bin/reproducible_common.py
+++ b/bin/reproducible_common.py
@@ -267,6 +267,14 @@ def bug_has_patch(bug):
return True
return False
+def package_has_notes(package):
+ # not a really serious check, it'd be better to check the yaml file
+ path = NOTES_PATH + '/' + package + '_note.html'
+ if os.access(path, os.R_OK):
+ return True
+ else:
+ return False
+
def join_status_icon(status, package=None, version=None):
table = {'reproducible' : 'weather-clear.png',
'FTBFS': 'weather-storm.png',