diff options
| author | Michael Vogt <egon@top> | 2005-12-05 15:17:38 +0100 |
|---|---|---|
| committer | Michael Vogt <egon@top> | 2005-12-05 15:17:38 +0100 |
| commit | bf17713ea0b6bff421d305e8ae91cbb68f46ff8a (patch) | |
| tree | ca3c9b0c27c8edcc1922e47389f8aeeec174b553 /SoftwareProperties | |
| parent | 62fcde2e7aea0bfe090bc36b97bd06dcf46b284a (diff) | |
| download | python-apt-bf17713ea0b6bff421d305e8ae91cbb68f46ff8a.tar.gz | |
* better handling of the sources.list convertation
Diffstat (limited to 'SoftwareProperties')
| -rw-r--r-- | SoftwareProperties/aptsources.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SoftwareProperties/aptsources.py b/SoftwareProperties/aptsources.py index 504a490b..1c8273f2 100644 --- a/SoftwareProperties/aptsources.py +++ b/SoftwareProperties/aptsources.py @@ -233,7 +233,7 @@ class SourcesList: is given, the current date/time is used (and returned) """ already_backuped = set() if backup_ext == None: - backup_ext = time.strftime("%d%m%y.%H%M") + backup_ext = time.strftime("%y%m%d.%H%M") for source in self.list: if not source.file in already_backuped: shutil.copy(source.file,"%s.%s" % (source.file,backup_ext)) |
