Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 216585 Details for
Bug 291650
app-backup/rdiff-backup-1.2.8 outputs DeprecationWarning with python 2.6
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for the os.popen2 DeprecationWarning
1.2.8-popen2.patch (text/plain), 775 bytes, created by
Mike Williams
on 2010-01-15 10:35:48 UTC
(
hide
)
Description:
Patch for the os.popen2 DeprecationWarning
Filename:
MIME Type:
Creator:
Mike Williams
Created:
2010-01-15 10:35:48 UTC
Size:
775 bytes
patch
obsolete
>diff -urNad rdiff-backup-1.2.8~/rdiff_backup/SetConnections.py rdiff-backup-1.2.8/rdiff_backup/SetConnections.py >--- rdiff-backup-1.2.8~/rdiff_backup/SetConnections.py 2009-03-16 15:36:21.000000000 +0100 >+++ rdiff-backup-1.2.8/rdiff_backup/SetConnections.py 2009-10-03 19:27:54.935647306 +0200 >@@ -135,10 +135,10 @@ > if not remote_cmd: return Globals.local_connection > > Log("Executing " + remote_cmd, 4) >- if os.name == "nt": >+ if map(int, sys.version.split()[0].split('.')[:2]) >= [2, 6]: > import subprocess > try: >- process = subprocess.Popen(remote_cmd, shell=False, bufsize=0, >+ process = subprocess.Popen(remote_cmd, shell=True, bufsize=0, > stdin=subprocess.PIPE, > stdout=subprocess.PIPE) > (stdin, stdout) = (process.stdin, process.stdout)
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 291650
: 216585 |
216587