[sysadmin-bin] No need to specify bytes from readlines anymore
- From: Andrea Veri <av src gnome org>
- To: gnome-sysadmin gnome org,commits-list gnome org
- Subject: [sysadmin-bin] No need to specify bytes from readlines anymore
- Date: Tue, 2 Jun 2015 00:15:58 +0000 (UTC)
commit 6535e97554c1efe86d3d063e2abba1f789459456
Author: Andrea Veri <av gnome org>
Date: Tue Jun 2 02:15:51 2015 +0200
No need to specify bytes from readlines anymore
rpm-signer.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/rpm-signer.py b/rpm-signer.py
index b8de375..11b8cde 100755
--- a/rpm-signer.py
+++ b/rpm-signer.py
@@ -69,7 +69,7 @@ def check_valid_signature(package):
rpm_qpi = subprocess.Popen(command, stdout=subprocess.PIPE)
rpm_qpi.wait()
- for line in rpm_qpi.stdout.readlines(13):
+ for line in rpm_qpi.stdout.readlines():
splitted_line = line.split(' ')
if ('NOT' or 'NON') in splitted_line:
return False
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]