django-backup-old
django-backup-old copied to clipboard
DeprecationWarning
python manage.py backup --email [email protected]
error:
DeprecationWarning: The popen2 module is deprecated. Use the subprocess module.
import os, popen2, time
NameError: global name 'CommandError' is not defined
this is my configuration:
BACKUP_LOCAL_DIRECTORY = os.path.join(BASE_DIR, "backup")
BACKUP_FTP_SERVER = None
BACKUP_FTP_USERNAME = None
BACKUP_FTP_PASSWORD = None
BACKUP_FTP_DIRECTORY = None
SO: OS X 10.8.4 Python 2.7.3 Django: 1.5.1
I'm not fussed about the depracation warning at the moment but patches welcome. ;-)
Looks like the NameError is more of a problem? That is covered in #8 but I can't replicate that at my end.