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 289731 Details for
Bug 355461
backup file not created
[?]
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 for saving backup file using "copy" from "shutil"
fix_backup_conf.patch (text/plain), 643 bytes, created by
Michal Fabry
on 2007-12-16 22:07:55 UTC
(
hide
)
Description:
fix for saving backup file using "copy" from "shutil"
Filename:
MIME Type:
Creator:
Michal Fabry
Created:
2007-12-16 22:07:55 UTC
Size:
643 bytes
patch
obsolete
>diff -Naur system-config-display-1.0.51_old/src/xconf.py system-config-display-1.0.51/src/xconf.py >--- system-config-display-1.0.51_old/src/xconf.py 2007-12-16 19:50:21.000000000 +0000 >+++ system-config-display-1.0.51/src/xconf.py 2007-12-16 23:02:03.000000000 +0000 >@@ -23,6 +23,7 @@ > import sys > import time > import os >+import shutil > import signal > import xf86config > import math >@@ -405,7 +406,7 @@ > backup_file = output_file + ".backup" > verbose(_("Backing up %s to %s") % (output_file, backup_file)) > try: >- os.copy(output_file, backup_file) >+ shutil.copy(output_file, backup_file) > except: > pass >
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 355461
: 289731