Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 901863 Details for
Bug 1100794
New dispatcher script does not work with python2
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
fix
0002-avoid-FileNotFoundError-not-available-in-Python-2.patch (text/plain), 1.22 KB, created by
Pavel Šimerda (pavlix)
on 2014-06-03 17:09:52 UTC
(
hide
)
Description:
fix
Filename:
MIME Type:
Creator:
Pavel Šimerda (pavlix)
Created:
2014-06-03 17:09:52 UTC
Size:
1.22 KB
patch
obsolete
>From dffb503f2ab15165b1d54b966559e8880e3c0e89 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Pavel=20=C5=A0imerda?= <psimerda@redhat.com> >Date: Tue, 3 Jun 2014 14:46:08 +0200 >Subject: [PATCH 2/3] avoid FileNotFoundError not available in Python 2 > >https://bugzilla.redhat.com/show_bug.cgi?id=1100794 >--- > dnssec-trigger-script.in | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > >diff --git a/dnssec-trigger-script.in b/dnssec-trigger-script.in >index 8c789c4..1ed482e 100644 >--- a/dnssec-trigger-script.in >+++ b/dnssec-trigger-script.in >@@ -10,6 +10,8 @@ import os, sys, shutil, subprocess > import logging, logging.handlers > import socket, struct > >+ >+ > DEVNULL = open("/dev/null", "wb") > > log = logging.getLogger() >@@ -255,7 +257,7 @@ class Store: > line = line.strip() > if line: > self.cache.add(line) >- except FileNotFoundError: >+ except IOError: > pass > log.debug(self) > >@@ -309,7 +311,7 @@ class GlobalForwarders: > line = line.strip() > if line: > self.cache.add(line) >- except FileNotFoundError: >+ except IOError: > pass > > class Application: >-- >1.8.3.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1100794
: 901863