[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Rdiff-backup-bugs] [bug #26064] os.popen2 seems depricated in Python 2.
From: |
Andreas Olsson |
Subject: |
[Rdiff-backup-bugs] [bug #26064] os.popen2 seems depricated in Python 2.6 |
Date: |
Wed, 01 Apr 2009 23:07:06 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; sv-SE; rv:1.9.0.8) Gecko/2009032711 Ubuntu/8.10 (intrepid) Firefox/3.0.8 |
URL:
<http://savannah.nongnu.org/bugs/?26064>
Summary: os.popen2 seems depricated in Python 2.6
Project: rdiff-backup
Submitted by: andol
Submitted on: ons 1 apr 2009 23.07.04
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
Running rdiff-backup under Python 2.6 I get a warning about os.popen2 being
deprecated. This happens both using rdiff-backup 1.2.8 and rdiff-backup
1.3.3.
address@hidden:~$ rdiff-backup source/ pc13267v3::dest
/usr/local/lib/python2.6/dist-packages/rdiff_backup/SetConnections.py:148:
DeprecationWarning: os.popen2 is deprecated. Use the subprocess module.
stdin, stdout = os.popen2(remote_cmd)
address@hidden's password:
address@hidden:~$
Besides the warning, rdiff-backup still behaves exactly as it should. The
backup was completed without any problems.
I have no idea whatever it is feasible or not to have this fixed in 1.2.x.
Yet, if nothing else, I guess it might be something to consider working on
1.3.x?
Both Ubuntu 9.04 and (if I'm not mistaken) Fedora 11 will be using Python
2.6.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?26064>
_______________________________________________
Meddelandet skickades via/av Savannah
http://savannah.nongnu.org/
- [Rdiff-backup-bugs] [bug #26064] os.popen2 seems depricated in Python 2.6,
Andreas Olsson <=