[master 4/4] Ignore some interruptible system calls warnings

dashea installerbot-noreply at redhat.com
Tue Jun 23 14:54:03 UTC 2015


From: David Shea <dshea at redhat.com>

None of these scripts are likely to be interrupted by a signal.
---
 scripts/makebumpver | 2 ++
 scripts/makeupdates | 2 ++
 scripts/merge-pr    | 2 ++
 setup.py            | 1 +
 4 files changed, 7 insertions(+)

diff --git a/scripts/makebumpver b/scripts/makebumpver
index 01ff2a8..550d8ce 100755
--- a/scripts/makebumpver
+++ b/scripts/makebumpver
@@ -20,6 +20,8 @@
 #
 # Author: David Cantrell <dcantrell at redhat.com>
 
+# pylint: disable=interruptible-system-call
+
 import logging
 logging.basicConfig(level=logging.DEBUG)
 log = logging.getLogger("bugzilla")
diff --git a/scripts/makeupdates b/scripts/makeupdates
index e3e6a0c..30bff14 100755
--- a/scripts/makeupdates
+++ b/scripts/makeupdates
@@ -20,6 +20,8 @@
 #
 # Author: David Cantrell <dcantrell at redhat.com>
 
+# pylint: disable=interruptible-system-call
+
 import getopt
 import os
 import shutil
diff --git a/scripts/merge-pr b/scripts/merge-pr
index 7b13939..eef796d 100755
--- a/scripts/merge-pr
+++ b/scripts/merge-pr
@@ -47,6 +47,8 @@
 # request against f22-branch but you don't have f22-branch locally, it won't
 # work.
 
+# pylint: disable=interruptible-system-call
+
 import argparse
 import subprocess
 import sys
diff --git a/setup.py b/setup.py
index c696535..cd40e80 100644
--- a/setup.py
+++ b/setup.py
@@ -1,4 +1,5 @@
 #!/usr/bin/python2
+# pylint: disable=interruptible-system-call
 
 from distutils.core import setup
 import subprocess


-- 
To view this commit on github, visit https://github.com/rhinstaller/blivet/commit/18bb5b19b00b8174220dd5f9aa21a29e6a32c3ef


More information about the anaconda-patches mailing list